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.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.DualDuctColdDuctMin.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.244/2.244, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001134/0.001134, allocations: 179.3 kB / 498.1 MB, free: 5.754 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.505/1.505, allocations: 223.2 MB / 0.7948 GB, free: 18.73 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.0009172/0.000917, allocations: 103.9 kB / 0.9346 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005166/0.000517, allocations: 8.375 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2696, allocations: 142.4 MB / 1.223 GB, free: 89.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.4508, allocations: 154 MB / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4511, allocations: 75.95 kB / 1.373 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05491/0.506, allocations: 21.36 MB / 1.394 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5061, allocations: 0 / 1.394 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001229/0.5062, allocations: 39.98 kB / 1.394 GB, free: 9.742 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003589/0.5098, allocations: 1.687 MB / 1.396 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.5098, allocations: 8.031 kB / 1.396 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003758/0.5102, allocations: 202.8 kB / 1.396 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/0.5106, allocations: 181.9 kB / 1.396 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.5125, allocations: 0.9303 MB / 1.397 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.5126, allocations: 114.8 kB / 1.397 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.5129, allocations: 148 kB / 1.397 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.5152, allocations: 1.33 MB / 1.399 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.5152, allocations: 4 kB / 1.399 GB, free: 4.984 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.5154, allocations: 60 kB / 1.399 GB, free: 4.926 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.5154, allocations: 32 kB / 1.399 GB, free: 4.895 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.5175, allocations: 1.045 MB / 1.4 GB, free: 3.844 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00581/0.5234, allocations: 3.743 MB / 1.404 GB, free: 36 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5082/1.032, allocations: 1.163 MB / 1.405 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.104e-05/1.032, allocations: 11.59 kB / 1.405 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/1.033, allocations: 0.5685 MB / 1.405 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=94): time 5.109e-06/1.033, allocations: 0 / 1.405 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=94): time 0.002969/1.036, allocations: 1.191 MB / 1.406 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.036, allocations: 221.5 kB / 1.407 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/1.038, allocations: 0.839 MB / 1.407 GB, free: 163 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002113/1.038, allocations: 59.81 kB / 1.408 GB, free: 163 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/1.039, allocations: 0.5921 MB / 1.408 GB, free: 162.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/1.039, allocations: 285.2 kB / 1.408 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/1.039, allocations: 22.19 kB / 1.408 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.039, allocations: 344.6 kB / 1.409 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/1.04, allocations: 405.8 kB / 1.409 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/1.041, allocations: 0.588 MB / 1.41 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/1.042, allocations: 463.5 kB / 1.41 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.042, allocations: 1.156 kB / 1.41 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002277/1.045, allocations: 1.156 MB / 1.411 GB, free: 162 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000175/1.045, allocations: 0.5045 MB / 1.412 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.045, allocations: 1.094 kB / 1.412 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/1.045, allocations: 9.359 kB / 1.412 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/1.046, allocations: 182.2 kB / 1.412 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/1.046, allocations: 4.969 kB / 1.412 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/1.047, allocations: 237.2 kB / 1.412 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/1.047, allocations: 44.14 kB / 1.412 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.425e-06/1.047, allocations: 4.25 kB / 1.412 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00181/1.049, allocations: 0.9881 MB / 1.413 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.049, allocations: 2.469 kB / 1.413 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/1.049, allocations: 6.719 kB / 1.413 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/1.049, allocations: 166.1 kB / 1.413 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.049, allocations: 4.906 kB / 1.413 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000942/1.05, allocations: 224.9 kB / 1.414 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/1.05, allocations: 38.27 kB / 1.414 GB, free: 161.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition6,$whenCondition5,dam.and4.y,$PRE.dam.greThr1.greHys.y,dam.greThr1.greHys.y,$PRE.dam.greThr.greHys.y,dam.greThr.greHys.y,$PRE.dam.greThr2.greHys.y,dam.greThr2.greHys.y,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.or1.u2,dam.booToRea1.u,dam1.and4.y,$PRE.dam1.greThr1.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr.greHys.y,dam1.greThr.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.or1.u2,dam1.booToRea1.u,$PRE.cooAhu.y,cooAhu.y,$PRE.heaAhu.y,heaAhu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * 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.0006588/1.051, allocations: 386.8 kB / 1.414 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/1.051, allocations: 111.5 kB / 1.414 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/1.053, allocations: 0.9611 MB / 1.415 GB, free: 161 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.053, allocations: 9.969 kB / 1.415 GB, free: 161 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.053, allocations: 4.609 kB / 1.415 GB, free: 161 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.053, allocations: 4.781 kB / 1.415 GB, free: 161 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/1.057, allocations: 2.255 MB / 1.417 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.057, allocations: 4 kB / 1.417 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/1.057, allocations: 166.5 kB / 1.417 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/1.057, allocations: 6.938 kB / 1.417 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/1.057, allocations: 21.19 kB / 1.417 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/1.057, allocations: 5.594 kB / 1.417 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.057, allocations: 7.172 kB / 1.417 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/1.06, allocations: 1.544 MB / 1.419 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/1.06, allocations: 209.6 kB / 1.419 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/1.06, allocations: 27.38 kB / 1.419 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006299/1.061, allocations: 97.62 kB / 1.419 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/1.061, allocations: 119.7 kB / 1.419 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/1.061, allocations: 28.34 kB / 1.419 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009052/1.062, allocations: 0.6278 MB / 1.42 GB, free: 160 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/1.062, allocations: 0 / 1.42 GB, free: 160 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001224/1.063, allocations: 468.2 kB / 1.42 GB, free: 159.9 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (dam1.conCooDam.I.y,dam1.conHeaDam.I.y) * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam.and4.y,dam.greThr1.greHys.y,dam.greThr.greHys.y,dam.greThr2.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.or1.u2,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.or1.u2,dam1.booToRea1.u,cooAhu.y,heaAhu.y) * Number of discrete states: 8 (dam.greThr.greHys.y,dam.greThr3.greHys.y,dam1.greThr.greHys.y,dam1.greThr3.greHys.y,dam1.greThr1.greHys.y,dam.greThr1.greHys.y,dam1.greThr2.greHys.y,dam.greThr2.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003012/1.066, allocations: 2.442 MB / 1.423 GB, free: 158.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002919/1.069, allocations: 1.726 MB / 1.425 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.069, allocations: 0 / 1.425 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008185/1.07, allocations: 468.7 kB / 1.425 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/1.071, allocations: 192.4 kB / 1.425 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/1.075, allocations: 3.789 MB / 1.429 GB, free: 156.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/1.076, allocations: 1.146 MB / 1.43 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0007115/1.077, allocations: 141.5 kB / 1.43 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007511/1.078, allocations: 0.5033 MB / 1.431 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/1.078, allocations: 4 kB / 1.431 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04685/1.124, allocations: 22.91 MB / 1.453 GB, free: 152.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/1.125, allocations: 234.3 kB / 1.453 GB, free: 152.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/3.906, allocations: 0 / 1.453 GB, free: 152.7 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat