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.146/2.146, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001015/0.001016, allocations: 180.8 kB / 487.4 MB, free: 5.023 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.442/1.442, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008362/0.0008362, allocations: 105.4 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.467e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2706, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9086/1.179, allocations: 152.5 MB / 1.355 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/1.18, allocations: 75.14 kB / 1.355 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03136/1.211, allocations: 13.71 MB / 1.369 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.753e-06/1.211, allocations: 0 / 1.369 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.854e-05/1.211, allocations: 23.16 kB / 1.369 GB, free: 32.9 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.001648/1.213, allocations: 1.086 MB / 1.37 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.213, allocations: 7.562 kB / 1.37 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/1.213, allocations: 124.2 kB / 1.37 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007527/1.214, allocations: 0.5894 MB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/1.214, allocations: 38.28 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/1.214, allocations: 57.56 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001017/1.215, allocations: 0.6288 MB / 1.371 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.216, allocations: 0.7829 MB / 1.372 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/1.216, allocations: 0 / 1.372 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/1.216, allocations: 0 / 1.372 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.216, allocations: 27.09 kB / 1.372 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003228/1.219, allocations: 2.442 MB / 1.374 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009488/1.22, allocations: 0.698 MB / 1.375 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/1.221, allocations: 288 kB / 1.375 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.186e-05/1.221, allocations: 12.5 kB / 1.375 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/1.221, allocations: 362.8 kB / 1.376 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 1.623e-06/1.221, allocations: 0 / 1.376 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0007517/1.222, allocations: 0.5139 MB / 1.376 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/1.222, allocations: 137 kB / 1.376 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/1.222, allocations: 413.5 kB / 1.377 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/1.223, allocations: 32.83 kB / 1.377 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/1.223, allocations: 427.4 kB / 1.377 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/1.223, allocations: 217 kB / 1.377 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/1.223, allocations: 0 / 1.377 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.223, allocations: 369.2 kB / 1.378 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/1.223, allocations: 194 kB / 1.378 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/1.224, allocations: 290.5 kB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/1.224, allocations: 189.2 kB / 1.378 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.224, allocations: 0 / 1.378 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006988/1.225, allocations: 0.5361 MB / 1.379 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.547e-05/1.225, allocations: 190.6 kB / 1.379 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.225, allocations: 0 / 1.379 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.225, allocations: 3.906 kB / 1.379 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/1.225, allocations: 154.8 kB / 1.379 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.225, allocations: 3.938 kB / 1.379 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/1.226, allocations: 104.9 kB / 1.379 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/1.226, allocations: 18.44 kB / 1.379 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/1.226, allocations: 3.969 kB / 1.379 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000655/1.227, allocations: 458.1 kB / 1.38 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/1.227, allocations: 4.062 kB / 1.38 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/1.227, allocations: 3.812 kB / 1.38 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/1.227, allocations: 143.1 kB / 1.38 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/1.227, allocations: 3.812 kB / 1.38 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/1.228, allocations: 89.73 kB / 1.38 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/1.228, allocations: 22.86 kB / 1.38 GB, free: 29.07 MB / 0.8386 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 () * 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.0001388/1.228, allocations: 128.7 kB / 1.38 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006452/1.228, allocations: 0.5138 MB / 1.38 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/1.228, allocations: 62.09 kB / 1.381 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007978/1.229, allocations: 0.5617 MB / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.229, allocations: 11.67 kB / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.229, allocations: 3.953 kB / 1.381 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.229, allocations: 3.984 kB / 1.381 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/1.231, allocations: 1.448 MB / 1.383 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.231, allocations: 0 / 1.383 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/1.232, allocations: 152.6 kB / 1.383 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/1.232, allocations: 3.844 kB / 1.383 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/1.232, allocations: 7.766 kB / 1.383 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.232, allocations: 7.828 kB / 1.383 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.232, allocations: 3.938 kB / 1.383 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/1.233, allocations: 0.989 MB / 1.384 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/1.233, allocations: 146.8 kB / 1.384 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/1.233, allocations: 3.625 kB / 1.384 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/1.233, allocations: 70.27 kB / 1.384 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/1.234, allocations: 96.08 kB / 1.384 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/1.234, allocations: 23.36 kB / 1.384 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002345/1.234, allocations: 279.5 kB / 1.384 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.234, allocations: 4 kB / 1.384 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006687/1.235, allocations: 314.3 kB / 1.385 GB, free: 27.34 MB / 0.8386 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) * 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.00152/1.236, allocations: 1.706 MB / 1.386 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001077/1.237, allocations: 0.8216 MB / 1.387 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.237, allocations: 3.844 kB / 1.387 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/1.238, allocations: 326.9 kB / 1.387 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/1.238, allocations: 74.2 kB / 1.387 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/1.24, allocations: 1.13 MB / 1.389 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/1.24, allocations: 1.012 MB / 1.39 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005195/1.241, allocations: 112.6 kB / 1.39 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/1.241, allocations: 346.2 kB / 1.39 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.241, allocations: 0 / 1.39 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/1.275, allocations: 13.16 MB / 1.403 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.275, allocations: 194.7 kB / 1.403 GB, free: 18.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.56, allocations: 0 / 1.403 GB, free: 18.48 MB / 0.8386 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