Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 179.3 kB / 498.1 MB, free: 5.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 98.81 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 10.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2916, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.4737, allocations: 150.9 MB / 1.37 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4741, allocations: 75.94 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01739/0.4915, allocations: 6.051 MB / 1.376 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4915, allocations: 4 kB / 1.376 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.4916, allocations: 12 kB / 1.376 GB, free: 4.855 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001552/0.4931, allocations: 0.7209 MB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.4932, allocations: 8.031 kB / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.4933, allocations: 86.52 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.4935, allocations: 55.34 kB / 1.377 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.4938, allocations: 234.4 kB / 1.377 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.4939, allocations: 40.94 kB / 1.377 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.494, allocations: 40 kB / 1.377 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.4953, allocations: 0.5447 MB / 1.378 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4953, allocations: 0 / 1.378 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.4954, allocations: 16 kB / 1.378 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.4954, allocations: 12 kB / 1.378 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.4968, allocations: 0.5247 MB / 1.379 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.4991, allocations: 1.294 MB / 1.38 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.5002, allocations: 463.7 kB / 1.38 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.5002, allocations: 11.98 kB / 1.38 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.5003, allocations: 39.42 kB / 1.38 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=40): time 1.733e-06/0.5003, allocations: 0 / 1.38 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.002088/0.5024, allocations: 0.7367 MB / 1.381 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.5025, allocations: 106.8 kB / 1.381 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.5028, allocations: 271.5 kB / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.5029, allocations: 33.7 kB / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.503, allocations: 216.5 kB / 1.382 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.5032, allocations: 110.4 kB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.5032, allocations: 8 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.5034, allocations: 342.8 kB / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.504, allocations: 212.5 kB / 1.382 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/0.5046, allocations: 249 kB / 1.383 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.5052, allocations: 188.6 kB / 1.383 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5052, allocations: 0 / 1.383 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001321/0.5066, allocations: 0.5111 MB / 1.383 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.5066, allocations: 8 kB / 1.383 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5066, allocations: 7.922 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.5066, allocations: 3.953 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.5072, allocations: 107.8 kB / 1.383 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.5072, allocations: 7.938 kB / 1.383 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.5076, allocations: 75.69 kB / 1.383 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.5077, allocations: 12 kB / 1.383 GB, free: 13.34 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.5079, allocations: 161.8 kB / 1.384 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.508, allocations: 35.53 kB / 1.384 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.366e-05/0.5081, allocations: 42.36 kB / 1.384 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.5082, allocations: 7.953 kB / 1.384 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.5082, allocations: 7.984 kB / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5082, allocations: 0 / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007209/0.5089, allocations: 489.1 kB / 1.384 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5089, allocations: 0 / 1.384 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.5094, allocations: 107.8 kB / 1.384 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5094, allocations: 0 / 1.384 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.5095, allocations: 8 kB / 1.384 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.5095, allocations: 7.984 kB / 1.384 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5095, allocations: 7.953 kB / 1.384 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.5109, allocations: 0.7883 MB / 1.385 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.511, allocations: 116.6 kB / 1.385 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.5111, allocations: 11.95 kB / 1.385 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.5115, allocations: 59.94 kB / 1.385 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.5117, allocations: 59.92 kB / 1.385 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.5118, allocations: 8 kB / 1.385 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002032/0.512, allocations: 207.1 kB / 1.385 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/0.512, allocations: 4 kB / 1.385 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004389/0.5124, allocations: 91.69 kB / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001904/0.5143, allocations: 1.49 MB / 1.387 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.5157, allocations: 0.4969 MB / 1.387 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5157, allocations: 0 / 1.387 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007218/0.5165, allocations: 295.6 kB / 1.388 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.5169, allocations: 48.56 kB / 1.388 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.5216, allocations: 2.621 MB / 1.39 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.5221, allocations: 0.8158 MB / 1.391 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.5223, allocations: 38.28 kB / 1.391 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.5226, allocations: 145.1 kB / 1.391 GB, free: 4.973 MB / 0.8855 GB Notification: Performance of SimCode: time 2.154e-06/0.5226, allocations: 3.938 kB / 1.391 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.545, allocations: 7.091 MB / 1.398 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.5453, allocations: 241.1 kB / 1.398 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.125/2.67, allocations: 0 / 1.398 GB, free: 13.89 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat