Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001321/0.001321, allocations: 176 kB / 0.4901 GB, free: 2.246 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.439/1.439, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009079/0.000908, allocations: 96.33 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 8.25 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2799, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.4609, allocations: 151.1 MB / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4612, allocations: 71.94 kB / 1.377 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008339/0.4695, allocations: 3.111 MB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4696, allocations: 0 / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.4696, allocations: 8 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007358/0.4703, allocations: 467 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.4704, allocations: 16.5 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.301e-05/0.4705, allocations: 50.55 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.4705, allocations: 27.77 kB / 1.381 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.4708, allocations: 194.8 kB / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.4708, allocations: 20.44 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.4709, allocations: 16 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.4713, allocations: 199.3 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4714, allocations: 0 / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.4714, allocations: 4 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.4714, allocations: 8 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.4718, allocations: 181.6 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.4729, allocations: 0.6037 MB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.4733, allocations: 154.6 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.4733, allocations: 0 / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4734, allocations: 34.56 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.4734, allocations: 4 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.000684/0.4741, allocations: 248.4 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.4741, allocations: 55.41 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.4743, allocations: 178 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.4743, allocations: 29.7 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.4744, allocations: 132.3 kB / 1.383 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.4745, allocations: 39.45 kB / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.4745, allocations: 4 kB / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4747, allocations: 326.8 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.4749, allocations: 59.97 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.475, allocations: 67.89 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.4752, allocations: 55.97 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4752, allocations: 0 / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004355/0.4757, allocations: 181.4 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4757, allocations: 7.953 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4757, allocations: 0 / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4757, allocations: 3.938 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.4759, allocations: 27.97 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4759, allocations: 0 / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.4761, allocations: 23.89 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4761, allocations: 8 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001348/0.4762, allocations: 131.3 kB / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.4763, allocations: 15.81 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.4763, allocations: 25.47 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.4763, allocations: 3.938 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4763, allocations: 3.938 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4764, allocations: 0 / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.4767, allocations: 281.5 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4767, allocations: 4 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.4768, allocations: 23.98 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4768, allocations: 0 / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4769, allocations: 4 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.4769, allocations: 7.953 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4769, allocations: 3.984 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.4773, allocations: 277.6 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.4774, allocations: 100.8 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.4774, allocations: 0 / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.4776, allocations: 20 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.4777, allocations: 27.91 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.4777, allocations: 12 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001064/0.4778, allocations: 128.1 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4778, allocations: 0 / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002704/0.4781, allocations: 39.98 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0008285/0.4789, allocations: 0.8282 MB / 1.385 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.4794, allocations: 150.1 kB / 1.385 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4794, allocations: 0 / 1.385 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.4796, allocations: 91.89 kB / 1.385 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.4798, allocations: 17.83 kB / 1.385 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.4817, allocations: 1.063 MB / 1.386 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.482, allocations: 0.7321 MB / 1.387 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.238e-05/0.4821, allocations: 17.42 kB / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.4823, allocations: 63.41 kB / 1.387 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of SimCode: time 7.01e-07/0.4823, allocations: 0 / 1.387 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.4979, allocations: 3.277 MB / 1.39 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.4982, allocations: 250.4 kB / 1.391 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.156, allocations: 0 / 1.391 GB, free: 4.027 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat