Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.407/2.407, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001052/0.001052, allocations: 180.8 kB / 492.3 MB, free: 0.6289 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.381/1.381, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008837/0.0008838, allocations: 94.3 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.051e-05/4.068e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2987, allocations: 142.4 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9043/1.203, allocations: 150 MB / 1.359 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/1.203, allocations: 71.91 kB / 1.359 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007543/1.211, allocations: 2.463 MB / 1.362 GB, free: 34.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.043e-06/1.211, allocations: 0 / 1.362 GB, free: 34.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.487e-05/1.211, allocations: 3.844 kB / 1.362 GB, free: 34.74 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007587/1.212, allocations: 428 kB / 1.362 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.128e-05/1.212, allocations: 11.56 kB / 1.362 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.997e-05/1.212, allocations: 47.38 kB / 1.362 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/1.212, allocations: 17.67 kB / 1.362 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/1.212, allocations: 182.5 kB / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/1.212, allocations: 15.5 kB / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/1.212, allocations: 11.44 kB / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/1.213, allocations: 131.1 kB / 1.362 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.213, allocations: 0 / 1.362 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/1.213, allocations: 10.06 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.213, allocations: 7.844 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/1.213, allocations: 91.66 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009133/1.214, allocations: 0.5046 MB / 1.363 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/1.214, allocations: 91.44 kB / 1.363 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/1.214, allocations: 40.98 kB / 1.363 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/1.214, allocations: 0 / 1.363 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/1.214, allocations: 33.94 kB / 1.363 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/1.214, allocations: 0 / 1.363 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0003173/1.215, allocations: 117.2 kB / 1.363 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/1.215, allocations: 55.36 kB / 1.363 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/1.215, allocations: 147.1 kB / 1.363 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/1.215, allocations: 25.7 kB / 1.363 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/1.215, allocations: 125 kB / 1.364 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/1.215, allocations: 24.48 kB / 1.364 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/1.215, allocations: 0 / 1.364 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.215, allocations: 326.6 kB / 1.364 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/1.215, allocations: 29.75 kB / 1.364 GB, free: 33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/1.215, allocations: 27.19 kB / 1.364 GB, free: 33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.073e-05/1.215, allocations: 28.77 kB / 1.364 GB, free: 33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.215, allocations: 0 / 1.364 GB, free: 33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001753/1.216, allocations: 107.7 kB / 1.364 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.216, allocations: 8.781 kB / 1.364 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.216, allocations: 1.266 kB / 1.364 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.216, allocations: 3.984 kB / 1.364 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/1.216, allocations: 21.72 kB / 1.364 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.216, allocations: 7.844 kB / 1.364 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/1.216, allocations: 18.22 kB / 1.364 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/1.216, allocations: 9.266 kB / 1.364 GB, free: 32.94 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.y) * Number of discrete 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 9.954e-05/1.216, allocations: 108.5 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/1.216, allocations: 11.66 kB / 1.364 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/1.216, allocations: 17.47 kB / 1.364 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.216, allocations: 4 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.216, allocations: 3.938 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.216, allocations: 1.406 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/1.216, allocations: 252.9 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.216, allocations: 0 / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/1.217, allocations: 25.62 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.217, allocations: 0 / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/1.217, allocations: 3.625 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.217, allocations: 0 / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.217, allocations: 4 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/1.217, allocations: 205 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/1.217, allocations: 93.98 kB / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/1.217, allocations: 7.375 kB / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/1.217, allocations: 15.62 kB / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/1.217, allocations: 16.27 kB / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/1.217, allocations: 9.016 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.142e-05/1.217, allocations: 117.9 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.217, allocations: 0 / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002522/1.218, allocations: 26.19 kB / 1.365 GB, free: 32.29 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.y) * Number of discrete 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.0006068/1.218, allocations: 0.7625 MB / 1.366 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001712/1.218, allocations: 77.33 kB / 1.366 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.218, allocations: 0 / 1.366 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-05/1.219, allocations: 48.33 kB / 1.366 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/1.219, allocations: 14.06 kB / 1.366 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/1.219, allocations: 213.5 kB / 1.366 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/1.22, allocations: 0.7185 MB / 1.367 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.072e-05/1.22, allocations: 9.328 kB / 1.367 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/1.22, allocations: 45.27 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.22, allocations: 0 / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/1.232, allocations: 2.654 MB / 1.369 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/1.232, allocations: 211.1 kB / 1.37 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.844, allocations: 0 / 1.37 GB, free: 30.31 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat