Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_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.434/2.434, allocations: 390.3 MB / 405.3 MB, free: 13.33 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.001187/0.001187, allocations: 165.2 kB / 498.1 MB, free: 5.59 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.602/1.602, allocations: 223.1 MB / 0.7948 GB, free: 17.9 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.001225/0.001225, allocations: 100.4 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003763, allocations: 8.625 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3095, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.5027, allocations: 150.8 MB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.5031, allocations: 75.95 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.5144, allocations: 4.353 MB / 1.375 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5144, allocations: 0 / 1.375 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.5145, allocations: 8 kB / 1.375 GB, free: 6.672 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009844/0.5155, allocations: 0.5418 MB / 1.375 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.5155, allocations: 12.03 kB / 1.375 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.5157, allocations: 66.53 kB / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.913e-05/0.5158, allocations: 43.48 kB / 1.375 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.516, allocations: 211.5 kB / 1.375 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.5161, allocations: 20.66 kB / 1.375 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.5161, allocations: 36 kB / 1.376 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.5168, allocations: 298 kB / 1.376 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5168, allocations: 0 / 1.376 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.5168, allocations: 16 kB / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.5169, allocations: 8 kB / 1.376 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.5175, allocations: 258.5 kB / 1.376 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.5189, allocations: 0.866 MB / 1.377 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.5195, allocations: 267.7 kB / 1.377 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.5195, allocations: 0 / 1.377 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5196, allocations: 38.56 kB / 1.377 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.5196, allocations: 0 / 1.377 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.0008456/0.5204, allocations: 346.4 kB / 1.378 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.5205, allocations: 59.34 kB / 1.378 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.5207, allocations: 212 kB / 1.378 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.5208, allocations: 33.7 kB / 1.378 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.5209, allocations: 168.5 kB / 1.378 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/0.521, allocations: 78.89 kB / 1.378 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.521, allocations: 4 kB / 1.378 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5211, allocations: 330.8 kB / 1.378 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.5214, allocations: 91.88 kB / 1.378 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.5216, allocations: 96.55 kB / 1.379 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.5218, allocations: 81.3 kB / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5218, allocations: 0 / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005349/0.5224, allocations: 257.2 kB / 1.379 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.5224, allocations: 11.95 kB / 1.379 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5224, allocations: 0 / 1.379 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5224, allocations: 0 / 1.379 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.5227, allocations: 47.91 kB / 1.379 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.5227, allocations: 7.984 kB / 1.379 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.5229, allocations: 27.77 kB / 1.379 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.5229, allocations: 12 kB / 1.379 GB, free: 1.957 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: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.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 (26): * Single equations (assignments): 26 * 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.0001876/0.5231, allocations: 143.3 kB / 1.379 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.5231, allocations: 27.72 kB / 1.379 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006471/0.5238, allocations: 279.8 kB / 1.379 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5238, allocations: 4 kB / 1.379 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5238, allocations: 4 kB / 1.379 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5238, allocations: 0 / 1.379 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.5243, allocations: 361.3 kB / 1.38 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5243, allocations: 4 kB / 1.38 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.5245, allocations: 47.91 kB / 1.38 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5245, allocations: 3.984 kB / 1.38 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.5246, allocations: 8 kB / 1.38 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5246, allocations: 3.953 kB / 1.38 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5246, allocations: 0 / 1.38 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/0.5252, allocations: 356 kB / 1.38 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/0.5253, allocations: 108.8 kB / 1.38 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.5253, allocations: 4 kB / 1.38 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.5255, allocations: 19.98 kB / 1.38 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.5256, allocations: 31.91 kB / 1.38 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.5256, allocations: 8 kB / 1.38 GB, free: 480 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001558/0.5258, allocations: 164.5 kB / 1.381 GB, free: 316 kB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5258, allocations: 0 / 1.381 GB, free: 316 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003228/0.5261, allocations: 59.78 kB / 1.381 GB, free: 256 kB / 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: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.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 (26): * Single equations (assignments): 26 * 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.001008/0.5272, allocations: 0.9112 MB / 1.381 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.5277, allocations: 227.8 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5277, allocations: 0 / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.528, allocations: 119.9 kB / 1.382 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.5283, allocations: 32.55 kB / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.531, allocations: 1.481 MB / 1.383 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.5314, allocations: 0.7754 MB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.5315, allocations: 17.95 kB / 1.384 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.5317, allocations: 99.39 kB / 1.384 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/0.5317, allocations: 4 kB / 1.384 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.5496, allocations: 4.356 MB / 1.388 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/0.5499, allocations: 224.8 kB / 1.389 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.352, allocations: 4 kB / 1.389 GB, free: 8.121 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat