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.117/2.117, allocations: 387.4 MB / 394.8 MB, free: 13.35 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.0009989/0.0009991, allocations: 188.6 kB / 487.4 MB, free: 5.047 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.461/1.461, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008526/0.0008528, allocations: 93.58 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.938e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2691, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8712/1.14, allocations: 150.1 MB / 1.353 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001708/1.14, allocations: 77.73 kB / 1.353 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01071/1.151, allocations: 4.329 MB / 1.357 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.151, allocations: 0 / 1.357 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.188e-05/1.151, allocations: 7.812 kB / 1.357 GB, free: 33.91 MB / 0.8386 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.0005832/1.152, allocations: 0.5094 MB / 1.358 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.152, allocations: 11.69 kB / 1.358 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/1.152, allocations: 36.61 kB / 1.358 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/1.152, allocations: 219.9 kB / 1.358 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/1.152, allocations: 15.62 kB / 1.358 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/1.152, allocations: 15.34 kB / 1.358 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003224/1.153, allocations: 192.7 kB / 1.358 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/1.153, allocations: 223.6 kB / 1.358 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.153, allocations: 0 / 1.358 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/1.153, allocations: 1.453 kB / 1.358 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.153, allocations: 7.688 kB / 1.358 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/1.154, allocations: 0.7926 MB / 1.359 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/1.154, allocations: 211.1 kB / 1.359 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/1.154, allocations: 95.8 kB / 1.359 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/1.154, allocations: 3.844 kB / 1.359 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/1.154, allocations: 34.56 kB / 1.359 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.302e-06/1.154, allocations: 0 / 1.359 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0003042/1.155, allocations: 193 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.613e-05/1.155, allocations: 55.28 kB / 1.36 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.155, allocations: 161.7 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/1.155, allocations: 25.7 kB / 1.36 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/1.155, allocations: 175.5 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/1.155, allocations: 78.98 kB / 1.36 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/1.155, allocations: 0 / 1.36 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/1.155, allocations: 330.1 kB / 1.36 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.413e-05/1.155, allocations: 59.47 kB / 1.36 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/1.155, allocations: 65.38 kB / 1.36 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.105e-05/1.155, allocations: 51.86 kB / 1.36 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.155, allocations: 0 / 1.36 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002243/1.156, allocations: 183.3 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/1.156, allocations: 3.875 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/1.156, allocations: 0 / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/1.156, allocations: 3.812 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/1.156, allocations: 54.05 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/1.156, allocations: 5.391 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/1.156, allocations: 18.75 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/1.156, allocations: 3.969 kB / 1.361 GB, free: 32 MB / 0.8386 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 () * 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 7.916e-05/1.156, allocations: 114 kB / 1.361 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002352/1.156, allocations: 182.1 kB / 1.361 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/1.156, allocations: 27.41 kB / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/1.157, allocations: 203.1 kB / 1.361 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.157, allocations: 3.781 kB / 1.361 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.157, allocations: 4 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.157, allocations: 1.312 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/1.157, allocations: 305.4 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.157, allocations: 0 / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/1.157, allocations: 53.66 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.157, allocations: 0 / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/1.157, allocations: 0 / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.157, allocations: 5.391 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.157, allocations: 3.953 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/1.158, allocations: 294.8 kB / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/1.158, allocations: 98.09 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/1.158, allocations: 0 / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/1.158, allocations: 15.16 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/1.158, allocations: 31.2 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.158, allocations: 9 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.426e-05/1.158, allocations: 126 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.158, allocations: 0 / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002766/1.158, allocations: 58.38 kB / 1.362 GB, free: 31.24 MB / 0.8386 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 () * 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.0005331/1.159, allocations: 0.8356 MB / 1.363 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002318/1.159, allocations: 166.6 kB / 1.363 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.159, allocations: 0 / 1.363 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/1.159, allocations: 99.3 kB / 1.363 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/1.159, allocations: 12.45 kB / 1.363 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/1.16, allocations: 371.3 kB / 1.364 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/1.16, allocations: 0.7767 MB / 1.364 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000102/1.161, allocations: 17.98 kB / 1.364 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/1.161, allocations: 90.69 kB / 1.364 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.161, allocations: 0 / 1.364 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/1.185, allocations: 3.582 MB / 1.368 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/1.185, allocations: 190 kB / 1.368 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.861, allocations: 0 / 1.368 GB, free: 29.21 MB / 0.8386 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