Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",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.24/2.24, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001203/0.001203, allocations: 189 kB / 498.1 MB, free: 5.73 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.488/1.488, allocations: 223.1 MB / 0.7948 GB, free: 18.91 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.0009723/0.0009719, allocations: 110.2 kB / 0.9346 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 9.234 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3064, allocations: 142.4 MB / 1.223 GB, free: 89.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.5065, allocations: 149.6 MB / 1.369 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.5068, allocations: 87.92 kB / 1.369 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006728/0.5136, allocations: 2.615 MB / 1.372 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5136, allocations: 4 kB / 1.372 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.5136, allocations: 8 kB / 1.372 GB, free: 0.9219 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007259/0.5144, allocations: 483 kB / 1.372 GB, free: 408 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5144, allocations: 12.03 kB / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.643e-05/0.5145, allocations: 59.19 kB / 1.372 GB, free: 328 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.5146, allocations: 27.67 kB / 1.372 GB, free: 300 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.5149, allocations: 242.7 kB / 1.373 GB, free: 16 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.515, allocations: 12.44 kB / 1.373 GB, free: 4 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.515, allocations: 20.05 kB / 1.373 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.5155, allocations: 233.7 kB / 1.373 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5155, allocations: 7.938 kB / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.5155, allocations: 8 kB / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.5156, allocations: 4 kB / 1.373 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.5159, allocations: 177 kB / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.5172, allocations: 0.7828 MB / 1.374 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.5175, allocations: 98.53 kB / 1.374 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.5175, allocations: 0 / 1.374 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.5176, allocations: 34.56 kB / 1.374 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.5176, allocations: 0 / 1.374 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0005598/0.5181, allocations: 201.4 kB / 1.374 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5182, allocations: 55.41 kB / 1.374 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.5185, allocations: 233.8 kB / 1.374 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.5185, allocations: 25.7 kB / 1.374 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/0.5186, allocations: 147.9 kB / 1.375 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.5186, allocations: 43.44 kB / 1.375 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/0.5187, allocations: 0 / 1.375 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5188, allocations: 326.8 kB / 1.375 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.5189, allocations: 55.97 kB / 1.375 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.5191, allocations: 55.91 kB / 1.375 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.5192, allocations: 59.94 kB / 1.375 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5192, allocations: 0 / 1.375 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003455/0.5196, allocations: 165.5 kB / 1.375 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5196, allocations: 8.938 kB / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5196, allocations: 0 / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5197, allocations: 0 / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.5198, allocations: 35.97 kB / 1.375 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5199, allocations: 3.938 kB / 1.375 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.52, allocations: 27.69 kB / 1.375 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.52, allocations: 4 kB / 1.375 GB, free: 13.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001251/0.5201, allocations: 137.8 kB / 1.375 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.5202, allocations: 19.72 kB / 1.375 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.5206, allocations: 175.3 kB / 1.376 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5206, allocations: 4 kB / 1.376 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5206, allocations: 0 / 1.376 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5207, allocations: 0 / 1.376 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007616/0.5214, allocations: 0.5436 MB / 1.376 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5214, allocations: 0 / 1.376 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.5216, allocations: 35.95 kB / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5216, allocations: 0 / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.5216, allocations: 4 kB / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5216, allocations: 480 / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5216, allocations: 0 / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.522, allocations: 326.9 kB / 1.376 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.5221, allocations: 104.8 kB / 1.377 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.5221, allocations: 11.95 kB / 1.377 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.5223, allocations: 15.98 kB / 1.377 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.5224, allocations: 7.984 kB / 1.377 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.5224, allocations: 12 kB / 1.377 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001704/0.5226, allocations: 194 kB / 1.377 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.5226, allocations: 0 / 1.377 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002576/0.5228, allocations: 31.91 kB / 1.377 GB, free: 11.34 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0007862/0.5236, allocations: 1.066 MB / 1.378 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.5239, allocations: 119.9 kB / 1.378 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.524, allocations: 3.938 kB / 1.378 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.5241, allocations: 68.09 kB / 1.378 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.5245, allocations: 44.53 kB / 1.378 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.5265, allocations: 1.179 MB / 1.379 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.5269, allocations: 0.7443 MB / 1.38 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.527, allocations: 17.95 kB / 1.38 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.5271, allocations: 67.41 kB / 1.38 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/0.5271, allocations: 0 / 1.38 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.5457, allocations: 4.213 MB / 1.384 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003647/0.5461, allocations: 248.8 kB / 1.384 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.284, allocations: 5.219 kB / 1.384 GB, free: 3.633 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat