Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.385/2.385, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001118/0.001118, allocations: 168.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.0009888/0.0009887, allocations: 95.88 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.991e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2544, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.323, allocations: 151.6 MB / 1.367 GB, free: 2.414 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/1.323, allocations: 77.14 kB / 1.367 GB, free: 2.371 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01121/1.335, allocations: 4.36 MB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/1.335, allocations: 0 / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.73e-05/1.335, allocations: 4 kB / 1.371 GB, free: 14.64 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.0008453/1.336, allocations: 0.5171 MB / 1.372 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/1.336, allocations: 12.03 kB / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/1.336, allocations: 71.97 kB / 1.372 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/1.336, allocations: 43.42 kB / 1.372 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/1.336, allocations: 211.4 kB / 1.372 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/1.336, allocations: 23.03 kB / 1.372 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/1.336, allocations: 30.81 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/1.337, allocations: 268.1 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.337, allocations: 0 / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/1.337, allocations: 14.38 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/1.337, allocations: 12 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/1.338, allocations: 214.4 kB / 1.373 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/1.339, allocations: 0.8531 MB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/1.34, allocations: 241.3 kB / 1.374 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/1.34, allocations: 108 kB / 1.374 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/1.34, allocations: 4 kB / 1.374 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.34, allocations: 34.38 kB / 1.374 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 4.398e-06/1.34, allocations: 0 / 1.374 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0004632/1.34, allocations: 214.5 kB / 1.374 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.34, allocations: 59.41 kB / 1.374 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/1.341, allocations: 207.2 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/1.341, allocations: 29.64 kB / 1.374 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/1.341, allocations: 168.4 kB / 1.374 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/1.341, allocations: 74.39 kB / 1.375 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/1.341, allocations: 3.75 kB / 1.375 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.341, allocations: 337.5 kB / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/1.341, allocations: 60.19 kB / 1.375 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.341, allocations: 67.69 kB / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/1.341, allocations: 56.83 kB / 1.375 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.341, allocations: 3.984 kB / 1.375 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003283/1.342, allocations: 208.8 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.342, allocations: 4 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.342, allocations: 0 / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.342, allocations: 4 kB / 1.375 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/1.342, allocations: 43.22 kB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/1.342, allocations: 4 kB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/1.342, allocations: 31.39 kB / 1.375 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/1.342, allocations: 7.984 kB / 1.375 GB, free: 11.05 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 0.0001015/1.342, allocations: 120.5 kB / 1.375 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/1.342, allocations: 23.67 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/1.343, allocations: 230.2 kB / 1.376 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.343, allocations: 7.938 kB / 1.376 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.343, allocations: 4 kB / 1.376 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.343, allocations: 3.984 kB / 1.376 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/1.343, allocations: 366 kB / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.343, allocations: 0 / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/1.343, allocations: 42.78 kB / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.343, allocations: 0 / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/1.343, allocations: 11.39 kB / 1.376 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/1.343, allocations: 0 / 1.376 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.343, allocations: 7.938 kB / 1.376 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/1.344, allocations: 311 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/1.344, allocations: 96.27 kB / 1.377 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/1.344, allocations: 7.25 kB / 1.377 GB, free: 9.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/1.344, allocations: 23.5 kB / 1.377 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/1.344, allocations: 34.39 kB / 1.377 GB, free: 9.914 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/1.344, allocations: 11.5 kB / 1.377 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001408/1.344, allocations: 158.5 kB / 1.377 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.344, allocations: 0 / 1.377 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002833/1.345, allocations: 65.95 kB / 1.377 GB, free: 9.719 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.0007086/1.345, allocations: 0.8549 MB / 1.378 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003341/1.346, allocations: 175.4 kB / 1.378 GB, free: 8.781 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.346, allocations: 0 / 1.378 GB, free: 8.781 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/1.346, allocations: 103.8 kB / 1.378 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/1.346, allocations: 31.8 kB / 1.378 GB, free: 8.691 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008649/1.347, allocations: 386.5 kB / 1.378 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/1.347, allocations: 0.7716 MB / 1.379 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001154/1.348, allocations: 26.06 kB / 1.379 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/1.348, allocations: 90.03 kB / 1.379 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.348, allocations: 0 / 1.379 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/1.364, allocations: 4.361 MB / 1.383 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/1.364, allocations: 208.5 kB / 1.384 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/3.22, allocations: 0 / 1.384 GB, free: 3.117 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat