Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow",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.353/2.353, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.001226/0.001226, allocations: 197.5 kB / 498.1 MB, free: 5.777 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.548/1.548, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0008994/0.0008993, allocations: 106.8 kB / 0.9346 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003516, allocations: 13.77 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2876, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.4691, allocations: 150.1 MB / 1.37 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4694, allocations: 79.94 kB / 1.37 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006825/0.4763, allocations: 2.423 MB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4763, allocations: 0 / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.4763, allocations: 7.938 kB / 1.372 GB, free: 9.48 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006369/0.477, allocations: 443 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.477, allocations: 12.03 kB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.4771, allocations: 50.48 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.4772, allocations: 19.77 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.4773, allocations: 178.9 kB / 1.373 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.4774, allocations: 12.28 kB / 1.373 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.4774, allocations: 15.94 kB / 1.373 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.4778, allocations: 155.8 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4778, allocations: 4 kB / 1.373 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.4778, allocations: 8 kB / 1.373 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4779, allocations: 7.922 kB / 1.373 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.4782, allocations: 144.7 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007932/0.479, allocations: 0.4888 MB / 1.373 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.4793, allocations: 114.6 kB / 1.374 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4794, allocations: 0 / 1.374 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4794, allocations: 38.56 kB / 1.374 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.4794, allocations: 4 kB / 1.374 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0005974/0.48, allocations: 214 kB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.4801, allocations: 55.36 kB / 1.374 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.4802, allocations: 146.6 kB / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.4802, allocations: 25.7 kB / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.4803, allocations: 115.9 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.4803, allocations: 31.55 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.4804, allocations: 4 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4805, allocations: 326.8 kB / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.4806, allocations: 47.97 kB / 1.375 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.4808, allocations: 59.94 kB / 1.375 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.4809, allocations: 51.92 kB / 1.375 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4809, allocations: 0 / 1.375 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003522/0.4813, allocations: 149.5 kB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4813, allocations: 8 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4813, allocations: 0 / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4814, allocations: 0 / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.4815, allocations: 23.97 kB / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.4816, allocations: 4 kB / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.4817, allocations: 31.78 kB / 1.375 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4817, allocations: 4 kB / 1.375 GB, free: 6.312 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001082/0.4818, allocations: 121.8 kB / 1.375 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.4819, allocations: 11.91 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.4819, allocations: 24.62 kB / 1.375 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4819, allocations: 4 kB / 1.375 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.482, allocations: 4 kB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.482, allocations: 0 / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.4822, allocations: 245.5 kB / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4822, allocations: 0 / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.4824, allocations: 27.97 kB / 1.375 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4824, allocations: 0 / 1.375 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4824, allocations: 0 / 1.375 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4824, allocations: 0 / 1.375 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4824, allocations: 4 kB / 1.375 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.4828, allocations: 263.1 kB / 1.376 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.4829, allocations: 85 kB / 1.376 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.4829, allocations: 8 kB / 1.376 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.4831, allocations: 15.98 kB / 1.376 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.4831, allocations: 15.98 kB / 1.376 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.4832, allocations: 0 / 1.376 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.877e-05/0.4833, allocations: 120.8 kB / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4833, allocations: 0 / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002528/0.4835, allocations: 31.84 kB / 1.376 GB, free: 5.254 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007166/0.4842, allocations: 0.8096 MB / 1.377 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003788/0.4846, allocations: 116.5 kB / 1.377 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4846, allocations: 4 kB / 1.377 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.4848, allocations: 71.89 kB / 1.377 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.4851, allocations: 19.2 kB / 1.377 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.4867, allocations: 0.8709 MB / 1.378 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.487, allocations: 0.7197 MB / 1.378 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.413e-05/0.4871, allocations: 12.55 kB / 1.378 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.4872, allocations: 47.42 kB / 1.378 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of SimCode: time 5.11e-07/0.4872, allocations: 0 / 1.378 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.5038, allocations: 2.666 MB / 1.381 GB, free: 48 kB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003263/0.5042, allocations: 237.4 kB / 1.381 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.112, allocations: 5.062 kB / 1.381 GB, free: 15.8 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat