Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.478/2.478, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001026/0.001026, allocations: 176.8 kB / 496.1 MB, free: 12.86 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.47/1.47, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0008849/0.000885, allocations: 99.55 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/3.009e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2525, allocations: 143 MB / 1.219 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9433/1.196, allocations: 150.8 MB / 1.366 GB, free: 3.176 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/1.196, allocations: 78.19 kB / 1.366 GB, free: 3.133 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006738/1.203, allocations: 2.457 MB / 1.369 GB, free: 1.012 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/1.203, allocations: 0 / 1.369 GB, free: 1.012 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.877e-06/1.203, allocations: 4 kB / 1.369 GB, free: 1.008 MB / 0.823 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.0005555/1.203, allocations: 426.9 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.204, allocations: 8.031 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.011e-05/1.204, allocations: 48.55 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/1.204, allocations: 19.77 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/1.204, allocations: 183.5 kB / 1.369 GB, free: 264 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/1.204, allocations: 19.28 kB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/1.204, allocations: 11.81 kB / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/1.204, allocations: 128.4 kB / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.204, allocations: 3.938 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/1.204, allocations: 3 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.204, allocations: 8 kB / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/1.204, allocations: 103 kB / 1.37 GB, free: 68 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/1.205, allocations: 0.4966 MB / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/1.205, allocations: 95.28 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/1.206, allocations: 37.61 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/1.206, allocations: 0 / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/1.206, allocations: 37.88 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/1.206, allocations: 4 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002681/1.206, allocations: 114.6 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/1.206, allocations: 55.39 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/1.206, allocations: 145.9 kB / 1.371 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/1.206, allocations: 25.7 kB / 1.371 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/1.206, allocations: 122.8 kB / 1.371 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/1.206, allocations: 27.42 kB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/1.206, allocations: 3.5 kB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.206, allocations: 322.6 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/1.206, allocations: 35 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/1.206, allocations: 27.55 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/1.207, allocations: 25.42 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.207, allocations: 0 / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001818/1.207, allocations: 111.8 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.207, allocations: 9.406 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.207, allocations: 0 / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.207, allocations: 0 / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/1.207, allocations: 23.98 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.207, allocations: 15.88 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/1.207, allocations: 15.48 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/1.207, allocations: 4 kB / 1.371 GB, free: 14.45 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 8.448e-05/1.207, allocations: 106.4 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/1.207, allocations: 11.91 kB / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/1.207, allocations: 19.34 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.207, allocations: 8 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/1.207, allocations: 0 / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.207, allocations: 3.953 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/1.208, allocations: 244.7 kB / 1.372 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.208, allocations: 7.922 kB / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/1.208, allocations: 27.92 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.208, allocations: 0 / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.208, allocations: 3.812 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.208, allocations: 4 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.208, allocations: 4 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/1.208, allocations: 200.4 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/1.208, allocations: 96.53 kB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/1.208, allocations: 0 / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/1.208, allocations: 15.67 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/1.208, allocations: 15.42 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/1.208, allocations: 15.92 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.859e-05/1.208, allocations: 115.5 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.208, allocations: 0 / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000229/1.209, allocations: 26.98 kB / 1.372 GB, free: 13.55 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.0005334/1.209, allocations: 0.7562 MB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001762/1.209, allocations: 80.95 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.209, allocations: 0 / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.997e-05/1.21, allocations: 45.62 kB / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/1.21, allocations: 15.8 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/1.21, allocations: 212.7 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/1.211, allocations: 0.7197 MB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.751e-05/1.211, allocations: 12.42 kB / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/1.211, allocations: 43.86 kB / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.211, allocations: 0 / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/1.225, allocations: 2.664 MB / 1.377 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/1.225, allocations: 206.2 kB / 1.377 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.845, allocations: 4 kB / 1.377 GB, free: 9.043 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat