Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.329/2.329, allocations: 390.3 MB / 405.3 MB, free: 13.31 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.001237/0.001237, allocations: 181.1 kB / 498.1 MB, free: 5.539 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.731/1.731, allocations: 223.1 MB / 0.7948 GB, free: 17.95 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.0008377/0.0008376, allocations: 97.52 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003305, allocations: 12.69 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.245, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.4187, allocations: 150.7 MB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.419, allocations: 79.88 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.4296, allocations: 3.859 MB / 1.374 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4296, allocations: 3.938 kB / 1.374 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.832e-05/0.4297, allocations: 8 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008522/0.4305, allocations: 0.5106 MB / 1.375 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4306, allocations: 12.03 kB / 1.375 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.185e-05/0.4307, allocations: 62.53 kB / 1.375 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.4307, allocations: 27.67 kB / 1.375 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.4312, allocations: 275.9 kB / 1.375 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.4312, allocations: 24.56 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.4313, allocations: 24 kB / 1.375 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.4318, allocations: 236.9 kB / 1.375 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4318, allocations: 0 / 1.375 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.4319, allocations: 8 kB / 1.375 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.4319, allocations: 8 kB / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.4324, allocations: 206.1 kB / 1.375 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.4335, allocations: 0.7287 MB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.434, allocations: 182.7 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.434, allocations: 4.062 kB / 1.376 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.434, allocations: 30.56 kB / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.434, allocations: 0 / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0006894/0.4347, allocations: 270.4 kB / 1.377 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.4348, allocations: 55.41 kB / 1.377 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.435, allocations: 216.1 kB / 1.377 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.4351, allocations: 33.7 kB / 1.377 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.4352, allocations: 152.3 kB / 1.377 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.4352, allocations: 47.34 kB / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.4352, allocations: 0 / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4354, allocations: 334.8 kB / 1.377 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.4356, allocations: 67.95 kB / 1.377 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.4358, allocations: 94.92 kB / 1.378 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.436, allocations: 61.53 kB / 1.378 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.436, allocations: 7.969 kB / 1.378 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004166/0.4364, allocations: 197.2 kB / 1.378 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4364, allocations: 9.25 kB / 1.378 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.4365, allocations: 0 / 1.378 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4365, allocations: 4 kB / 1.378 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.4366, allocations: 23.98 kB / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4367, allocations: 8 kB / 1.378 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.4368, allocations: 31.88 kB / 1.378 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4368, allocations: 3.938 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001351/0.437, allocations: 148.6 kB / 1.378 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.437, allocations: 15.81 kB / 1.378 GB, free: 3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.4371, allocations: 30.17 kB / 1.378 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4371, allocations: 7.938 kB / 1.378 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4371, allocations: 0 / 1.378 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4371, allocations: 3.984 kB / 1.378 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.4375, allocations: 313.3 kB / 1.378 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4375, allocations: 0 / 1.378 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.4376, allocations: 35.92 kB / 1.378 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4376, allocations: 4 kB / 1.378 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.4377, allocations: 3.984 kB / 1.378 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4377, allocations: 0 / 1.378 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4377, allocations: 3.984 kB / 1.378 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.4382, allocations: 300.7 kB / 1.379 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.4382, allocations: 96.77 kB / 1.379 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.4383, allocations: 8 kB / 1.379 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.4385, allocations: 27.97 kB / 1.379 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/0.4386, allocations: 31.95 kB / 1.379 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4386, allocations: 7.938 kB / 1.379 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001357/0.4387, allocations: 168.5 kB / 1.379 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4387, allocations: 0 / 1.379 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002587/0.439, allocations: 43.91 kB / 1.379 GB, free: 1.848 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.gre.greHys.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0007889/0.4398, allocations: 0.8446 MB / 1.38 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.4402, allocations: 180.5 kB / 1.38 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4402, allocations: 4 kB / 1.38 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.4405, allocations: 96.83 kB / 1.38 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.4407, allocations: 24.36 kB / 1.38 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.4428, allocations: 1.269 MB / 1.381 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.4431, allocations: 0.7522 MB / 1.382 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.4432, allocations: 25.53 kB / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.4434, allocations: 75.41 kB / 1.382 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of SimCode: time 3.61e-07/0.4434, allocations: 0 / 1.382 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.4586, allocations: 4.21 MB / 1.386 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.4588, allocations: 243.5 kB / 1.387 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.222, allocations: 3.938 kB / 1.387 GB, free: 10.27 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat