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.Dampers.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.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers",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.281/2.281, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001165/0.001165, allocations: 183.3 kB / 498.1 MB, free: 5.746 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.609/1.609, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009134/0.0009134, allocations: 98.73 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003554, allocations: 14.03 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2909, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.4758, allocations: 153.3 MB / 1.373 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.4761, allocations: 75.94 kB / 1.373 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0338/0.5099, allocations: 13.84 MB / 1.386 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.014e-06/0.51, allocations: 0 / 1.386 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.57e-05/0.51, allocations: 27.98 kB / 1.386 GB, free: 10.67 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002017/0.512, allocations: 1.177 MB / 1.387 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5121, allocations: 11.97 kB / 1.387 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.5123, allocations: 156.6 kB / 1.388 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.5125, allocations: 130.4 kB / 1.388 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.5134, allocations: 0.5786 MB / 1.388 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.5134, allocations: 82.08 kB / 1.388 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.5136, allocations: 108 kB / 1.388 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.5154, allocations: 1.033 MB / 1.389 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5154, allocations: 4 kB / 1.389 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.5155, allocations: 40 kB / 1.39 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.5155, allocations: 24 kB / 1.39 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.5174, allocations: 0.8709 MB / 1.39 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.5217, allocations: 2.686 MB / 1.393 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.5234, allocations: 0.8684 MB / 1.394 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.5235, allocations: 24.56 kB / 1.394 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009978/0.5245, allocations: 481.9 kB / 1.394 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=77): time 2.695e-06/0.5245, allocations: 0 / 1.394 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77): time 0.002284/0.5268, allocations: 1.047 MB / 1.395 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.5269, allocations: 137.2 kB / 1.395 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007455/0.5276, allocations: 0.6168 MB / 1.396 GB, free: 316 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.5277, allocations: 45.7 kB / 1.396 GB, free: 264 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.528, allocations: 420.4 kB / 1.397 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.5282, allocations: 220.8 kB / 1.397 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.5282, allocations: 12 kB / 1.397 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5284, allocations: 334 kB / 1.397 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.529, allocations: 301.1 kB / 1.397 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/0.5298, allocations: 393.9 kB / 1.398 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.5305, allocations: 295.1 kB / 1.398 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5305, allocations: 0 / 1.398 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001681/0.5322, allocations: 0.7891 MB / 1.399 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.672e-05/0.5323, allocations: 188.6 kB / 1.399 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.5323, allocations: 4 kB / 1.399 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.5323, allocations: 4 kB / 1.399 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.533, allocations: 147.8 kB / 1.399 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.533, allocations: 4 kB / 1.399 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/0.5337, allocations: 139.1 kB / 1.399 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.5338, allocations: 23.98 kB / 1.399 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.5338, allocations: 4 kB / 1.399 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001558/0.5354, allocations: 0.6557 MB / 1.4 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5354, allocations: 3.953 kB / 1.4 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.5354, allocations: 4 kB / 1.4 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.536, allocations: 143.8 kB / 1.4 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.536, allocations: 4 kB / 1.4 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.5366, allocations: 127.2 kB / 1.4 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.5367, allocations: 20 kB / 1.4 GB, free: 12.02 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,dam.uZonSta,dam.oveFloSet,dam.oveDamPos,$PRE.dam.gre.greHys.y,dam.gre.greHys.y,dam.actFlo.u2,dam.forZerFlo.y,dam.forMinFlo.y,dam.cooMax.u,dam.or3.y,dam.intEqu4.y,dam.cloDam.u,dam.or2.y,$PRE.dam1.gre.greHys.y,dam1.gre.greHys.y,dam1.actFlo.u2,dam1.forZerFlo.y,dam1.forMinFlo.y,dam1.cooMax.u,dam1.or3.y,dam1.intEqu4.y,dam1.cloDam.u,dam1.or2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0005037/0.5372, allocations: 317 kB / 1.401 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.5373, allocations: 82.97 kB / 1.401 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.5391, allocations: 0.8341 MB / 1.401 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.5391, allocations: 8 kB / 1.401 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5391, allocations: 0 / 1.401 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.5391, allocations: 7.984 kB / 1.401 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.542, allocations: 1.813 MB / 1.403 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.542, allocations: 0 / 1.403 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/0.5427, allocations: 151.8 kB / 1.403 GB, free: 8.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.5427, allocations: 4 kB / 1.403 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.5427, allocations: 23.92 kB / 1.403 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.5427, allocations: 7.938 kB / 1.403 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5427, allocations: 0 / 1.403 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.5452, allocations: 1.339 MB / 1.405 GB, free: 7.316 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.5454, allocations: 168 kB / 1.405 GB, free: 7.133 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/0.5455, allocations: 16.06 kB / 1.405 GB, free: 7.117 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.546, allocations: 83.92 kB / 1.405 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.5463, allocations: 92.53 kB / 1.405 GB, free: 6.945 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.5463, allocations: 23.98 kB / 1.405 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005881/0.5469, allocations: 475 kB / 1.406 GB, free: 6.461 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5469, allocations: 0 / 1.406 GB, free: 6.461 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008082/0.5477, allocations: 310.9 kB / 1.406 GB, free: 6.156 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (dam1.conPID.I.y) * Number of discrete variables: 22 ($whenCondition1,dam.uZonSta,dam.oveFloSet,dam.oveDamPos,dam.gre.greHys.y,dam.actFlo.u2,dam.forZerFlo.y,dam.forMinFlo.y,dam.cooMax.u,dam.or3.y,dam.intEqu4.y,dam.cloDam.u,dam.or2.y,dam1.gre.greHys.y,dam1.actFlo.u2,dam1.forZerFlo.y,dam1.forMinFlo.y,dam1.cooMax.u,dam1.or3.y,dam1.intEqu4.y,dam1.cloDam.u,dam1.or2.y) * Number of discrete states: 2 (dam.gre.greHys.y,dam1.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 79 * 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.002912/0.5506, allocations: 2.067 MB / 1.408 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.553, allocations: 1.11 MB / 1.409 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5531, allocations: 4 kB / 1.409 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008248/0.5539, allocations: 435.6 kB / 1.409 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.5545, allocations: 104.6 kB / 1.409 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007985/0.5625, allocations: 5.097 MB / 1.414 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.5631, allocations: 1.01 MB / 1.415 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005072/0.5637, allocations: 105.4 kB / 1.415 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/0.5642, allocations: 367.2 kB / 1.416 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of SimCode: time 9.21e-07/0.5642, allocations: 0 / 1.416 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5415/1.106, allocations: 15.24 MB / 1.431 GB, free: 190.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/1.106, allocations: 225.5 kB / 1.431 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/3.458, allocations: 0 / 1.431 GB, free: 189.9 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.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.Dampers_res.mat does not exist to compare? outputFormat=mat