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.239/2.239, allocations: 390.5 MB / 398 MB, free: 10.98 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.001127/0.001127, allocations: 172.1 kB / 491.2 MB, free: 1.633 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.373/1.373, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.001008/0.001007, allocations: 109.4 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.286e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2766, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9467/1.223, allocations: 150.9 MB / 1.36 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.224, allocations: 75.3 kB / 1.36 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01176/1.235, allocations: 4.336 MB / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.864e-06/1.235, allocations: 0 / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.957e-05/1.236, allocations: 7.531 kB / 1.364 GB, free: 32.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.0008865/1.236, allocations: 0.5117 MB / 1.365 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/1.236, allocations: 7.75 kB / 1.365 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/1.237, allocations: 44.38 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/1.237, allocations: 210.6 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/1.237, allocations: 14.84 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/1.237, allocations: 19.22 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000397/1.237, allocations: 188.4 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/1.238, allocations: 224.4 kB / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/1.238, allocations: 3.984 kB / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/1.238, allocations: 0 / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/1.238, allocations: 7.688 kB / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/1.239, allocations: 0.7785 MB / 1.366 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/1.239, allocations: 218.6 kB / 1.366 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/1.24, allocations: 102.7 kB / 1.366 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/1.24, allocations: 15.47 kB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/1.24, allocations: 38.36 kB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.192e-06/1.24, allocations: 0 / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0003934/1.24, allocations: 184.3 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/1.24, allocations: 59.31 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/1.24, allocations: 169.9 kB / 1.367 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/1.24, allocations: 28.52 kB / 1.367 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/1.241, allocations: 168.8 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/1.241, allocations: 69.47 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/1.241, allocations: 0 / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.241, allocations: 330.3 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/1.241, allocations: 58.88 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/1.241, allocations: 58.38 kB / 1.368 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.585e-05/1.241, allocations: 58.64 kB / 1.368 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.241, allocations: 4 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002471/1.241, allocations: 180.1 kB / 1.368 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.241, allocations: 3.656 kB / 1.368 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.241, allocations: 0 / 1.368 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.241, allocations: 3.953 kB / 1.368 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/1.242, allocations: 50.34 kB / 1.368 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/1.242, allocations: 3.938 kB / 1.368 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/1.242, allocations: 28.91 kB / 1.368 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/1.242, allocations: 3.812 kB / 1.368 GB, free: 30.73 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.0001128/1.242, allocations: 112.6 kB / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000254/1.242, allocations: 182.3 kB / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/1.242, allocations: 19.45 kB / 1.368 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/1.243, allocations: 203.8 kB / 1.368 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.243, allocations: 7.781 kB / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.243, allocations: 0 / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.243, allocations: 4 kB / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/1.243, allocations: 305.4 kB / 1.369 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.243, allocations: 0 / 1.369 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/1.243, allocations: 46.06 kB / 1.369 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.243, allocations: 0 / 1.369 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/1.243, allocations: 0 / 1.369 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.243, allocations: 7.953 kB / 1.369 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.243, allocations: 6.844 kB / 1.369 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/1.243, allocations: 300.1 kB / 1.369 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/1.243, allocations: 91.52 kB / 1.369 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/1.244, allocations: 0 / 1.369 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/1.244, allocations: 13.38 kB / 1.369 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/1.244, allocations: 31.27 kB / 1.369 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/1.244, allocations: 10.73 kB / 1.369 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.372e-05/1.244, allocations: 127.2 kB / 1.369 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.244, allocations: 0 / 1.369 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002773/1.244, allocations: 57.22 kB / 1.369 GB, free: 29.98 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.0005845/1.245, allocations: 0.8323 MB / 1.37 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002399/1.245, allocations: 163.5 kB / 1.37 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.245, allocations: 4 kB / 1.37 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/1.245, allocations: 96.7 kB / 1.37 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/1.245, allocations: 20.42 kB / 1.37 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007816/1.246, allocations: 371.8 kB / 1.371 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/1.247, allocations: 0.7687 MB / 1.371 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001064/1.247, allocations: 27.84 kB / 1.372 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/1.247, allocations: 92 kB / 1.372 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.247, allocations: 0 / 1.372 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/1.27, allocations: 3.582 MB / 1.375 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/1.27, allocations: 196.3 kB / 1.375 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/3.006, allocations: 13.09 kB / 1.375 GB, free: 27.93 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