Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.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.DualDuctColdDuctMin.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.292/2.292, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001296/0.001295, allocations: 164.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.0008645/0.0008648, allocations: 95.95 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.391e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2983, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9876/1.286, allocations: 154.7 MB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.286, allocations: 71.14 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.05824/1.345, allocations: 21.32 MB / 1.391 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.974e-06/1.345, allocations: 0 / 1.391 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001498/1.345, allocations: 36 kB / 1.391 GB, free: 13.27 MB / 0.8542 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.003808/1.349, allocations: 1.535 MB / 1.392 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/1.349, allocations: 15.97 kB / 1.392 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004764/1.349, allocations: 204.1 kB / 1.393 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000581/1.35, allocations: 181.9 kB / 1.393 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/1.352, allocations: 0.9265 MB / 1.394 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/1.352, allocations: 114.8 kB / 1.394 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/1.352, allocations: 149.6 kB / 1.394 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/1.355, allocations: 1.246 MB / 1.395 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/1.355, allocations: 0 / 1.395 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.355, allocations: 54.56 kB / 1.395 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/1.355, allocations: 32 kB / 1.395 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/1.357, allocations: 0.8829 MB / 1.396 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007039/1.364, allocations: 3.731 MB / 1.4 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.366, allocations: 1.039 MB / 1.401 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/1.366, allocations: 362.2 kB / 1.401 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.329e-05/1.366, allocations: 16.77 kB / 1.401 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008703/1.367, allocations: 0.4885 MB / 1.402 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=94): time 5.62e-06/1.367, allocations: 0 / 1.402 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of matching and sorting (n=94): time 0.001465/1.369, allocations: 0.7062 MB / 1.402 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.369, allocations: 221.2 kB / 1.402 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/1.37, allocations: 0.827 MB / 1.403 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/1.37, allocations: 58.89 kB / 1.403 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/1.371, allocations: 0.5898 MB / 1.404 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/1.371, allocations: 288.1 kB / 1.404 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/1.371, allocations: 23.19 kB / 1.404 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.371, allocations: 343.7 kB / 1.405 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/1.372, allocations: 322.6 kB / 1.405 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/1.373, allocations: 0.5071 MB / 1.405 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/1.373, allocations: 385.9 kB / 1.406 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.373, allocations: 0 / 1.406 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001728/1.375, allocations: 1 MB / 1.407 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002689/1.375, allocations: 0.5086 MB / 1.407 GB, free: 412 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/1.375, allocations: 0 / 1.407 GB, free: 412 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/1.375, allocations: 8 kB / 1.407 GB, free: 404 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/1.376, allocations: 187.1 kB / 1.407 GB, free: 224 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/1.376, allocations: 4 kB / 1.407 GB, free: 220 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/1.377, allocations: 239.8 kB / 1.408 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.378, allocations: 38.94 kB / 1.408 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.378, allocations: 5.406 kB / 1.408 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001409/1.379, allocations: 0.8797 MB / 1.409 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.379, allocations: 4 kB / 1.409 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/1.379, allocations: 7.984 kB / 1.409 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/1.38, allocations: 162.6 kB / 1.409 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/1.38, allocations: 4 kB / 1.409 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.381, allocations: 217 kB / 1.409 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.263e-05/1.381, allocations: 42.55 kB / 1.409 GB, free: 14.96 MB / 0.8698 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 () * 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.0002581/1.381, allocations: 182.2 kB / 1.409 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/1.381, allocations: 118.5 kB / 1.409 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/1.383, allocations: 0.7983 MB / 1.41 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.383, allocations: 12 kB / 1.41 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/1.383, allocations: 0 / 1.41 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.383, allocations: 3.984 kB / 1.41 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/1.386, allocations: 2.098 MB / 1.412 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.386, allocations: 12.11 kB / 1.412 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/1.387, allocations: 159.7 kB / 1.412 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/1.387, allocations: 7.984 kB / 1.412 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/1.387, allocations: 27.94 kB / 1.412 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/1.387, allocations: 4 kB / 1.412 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.387, allocations: 0 / 1.412 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/1.389, allocations: 1.318 MB / 1.414 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/1.389, allocations: 199.5 kB / 1.414 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/1.389, allocations: 35.98 kB / 1.414 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/1.39, allocations: 87.98 kB / 1.414 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/1.39, allocations: 120.5 kB / 1.414 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.548e-05/1.39, allocations: 27.98 kB / 1.414 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00088/1.391, allocations: 0.6158 MB / 1.415 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.9e-07/1.391, allocations: 4 kB / 1.415 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001319/1.392, allocations: 470.6 kB / 1.415 GB, free: 9.172 MB / 0.8698 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) * 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.00245/1.395, allocations: 2.202 MB / 1.417 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002614/1.398, allocations: 1.55 MB / 1.419 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.398, allocations: 4 kB / 1.419 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006296/1.398, allocations: 384.3 kB / 1.419 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/1.399, allocations: 203 kB / 1.419 GB, free: 4.734 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/1.403, allocations: 1.729 MB / 1.421 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007787/1.404, allocations: 1.143 MB / 1.422 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009876/1.405, allocations: 196.2 kB / 1.422 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/1.405, allocations: 0.4915 MB / 1.423 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of SimCode: time 9.62e-07/1.405, allocations: 0 / 1.423 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05158/1.457, allocations: 24.79 MB / 1.447 GB, free: 8.68 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/1.457, allocations: 216.8 kB / 1.447 GB, free: 8.453 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.776/4.233, allocations: 0 / 1.447 GB, free: 8.453 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat