Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.222/2.222, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001053/0.001053, allocations: 179.3 kB / 498.1 MB, free: 5.754 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.433/1.433, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0009368/0.0009368, allocations: 98.5 kB / 0.9346 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 11.3 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3062, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.4882, allocations: 150.1 MB / 1.37 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.4886, allocations: 75.95 kB / 1.37 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007088/0.4957, allocations: 2.423 MB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4957, allocations: 0 / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.4957, allocations: 4 kB / 1.372 GB, free: 9.484 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.0006805/0.4964, allocations: 439 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4965, allocations: 8.031 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.582e-05/0.4965, allocations: 54.55 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.4966, allocations: 19.77 kB / 1.372 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.4968, allocations: 184.4 kB / 1.373 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.4968, allocations: 12.28 kB / 1.373 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.4969, allocations: 12 kB / 1.373 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.4973, allocations: 155.8 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4973, allocations: 0 / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.4973, allocations: 8 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4973, allocations: 4 kB / 1.373 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.4977, allocations: 148.6 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.4985, allocations: 0.4927 MB / 1.373 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.4989, allocations: 118.7 kB / 1.374 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.4989, allocations: 0 / 1.374 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.499, allocations: 30.56 kB / 1.374 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 3.447e-06/0.499, allocations: 4 kB / 1.374 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0006467/0.4996, allocations: 217.6 kB / 1.374 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.4997, allocations: 55.36 kB / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.4998, allocations: 153.9 kB / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4999, allocations: 25.7 kB / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.5, allocations: 115.9 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.5, allocations: 31.55 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.5, allocations: 0 / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5002, allocations: 318.8 kB / 1.374 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.5003, allocations: 55.97 kB / 1.375 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.5005, allocations: 59.89 kB / 1.375 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.5006, allocations: 47.98 kB / 1.375 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5007, allocations: 0 / 1.375 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003633/0.501, allocations: 153.5 kB / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5011, allocations: 8 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5011, allocations: 0 / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5011, allocations: 0 / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.5013, allocations: 23.97 kB / 1.375 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5013, allocations: 4 kB / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.5014, allocations: 27.78 kB / 1.375 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.5014, allocations: 4 kB / 1.375 GB, free: 6.32 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.000114/0.5015, allocations: 125.8 kB / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.5016, allocations: 11.91 kB / 1.375 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.5016, allocations: 12.7 kB / 1.375 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.5016, allocations: 4 kB / 1.375 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5017, allocations: 0 / 1.375 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5017, allocations: 0 / 1.375 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.5019, allocations: 241.5 kB / 1.375 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5019, allocations: 4 kB / 1.375 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.5021, allocations: 27.97 kB / 1.375 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5021, allocations: 0 / 1.375 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5021, allocations: 4 kB / 1.375 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5021, allocations: 4 kB / 1.375 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5021, allocations: 0 / 1.375 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.5026, allocations: 259.9 kB / 1.376 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.5027, allocations: 93 kB / 1.376 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.5027, allocations: 4 kB / 1.376 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.5028, allocations: 15.98 kB / 1.376 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.5029, allocations: 15.98 kB / 1.376 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5029, allocations: 4 kB / 1.376 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.217e-05/0.503, allocations: 116.8 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.503, allocations: 4 kB / 1.376 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000258/0.5033, allocations: 35.83 kB / 1.376 GB, free: 5.262 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.0008038/0.5041, allocations: 0.8018 MB / 1.377 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.5045, allocations: 123.9 kB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5045, allocations: 0 / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.5047, allocations: 79.89 kB / 1.377 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.505, allocations: 11.98 kB / 1.377 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.5067, allocations: 0.8693 MB / 1.378 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.5071, allocations: 0.7197 MB / 1.378 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.945e-05/0.5072, allocations: 12.55 kB / 1.378 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/0.5073, allocations: 39.42 kB / 1.378 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.543e-06/0.5073, allocations: 8 kB / 1.378 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.5241, allocations: 2.665 MB / 1.381 GB, free: 56 kB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002785/0.5245, allocations: 234 kB / 1.381 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.144, allocations: 1.406 kB / 1.381 GB, free: 15.81 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat