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.304/2.304, allocations: 390.5 MB / 398 MB, free: 10.93 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.001058/0.001058, allocations: 168.9 kB / 491.2 MB, free: 1.574 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.53/1.53, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009408/0.0009412, allocations: 91.83 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.167e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2877, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.339, allocations: 154 MB / 1.363 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.34, allocations: 77.12 kB / 1.363 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05126/1.391, allocations: 21.15 MB / 1.384 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.391, allocations: 3.938 kB / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001485/1.391, allocations: 34.59 kB / 1.384 GB, free: 29.38 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003871/1.395, allocations: 1.538 MB / 1.385 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.395, allocations: 7.688 kB / 1.385 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/1.396, allocations: 174.8 kB / 1.385 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/1.398, allocations: 0.9379 MB / 1.386 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/1.398, allocations: 52.81 kB / 1.386 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/1.398, allocations: 90.47 kB / 1.386 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001826/1.4, allocations: 0.8133 MB / 1.387 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/1.402, allocations: 1.037 MB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.402, allocations: 0 / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.794e-05/1.402, allocations: 7.984 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/1.402, allocations: 34.75 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006497/1.409, allocations: 3.417 MB / 1.392 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/1.41, allocations: 0.9887 MB / 1.393 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/1.411, allocations: 344.1 kB / 1.393 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.124e-05/1.411, allocations: 16.41 kB / 1.393 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006718/1.412, allocations: 465.5 kB / 1.393 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=94): time 2.785e-06/1.412, allocations: 0 / 1.393 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=94): time 0.001213/1.413, allocations: 0.6393 MB / 1.394 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/1.413, allocations: 217.6 kB / 1.394 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009389/1.414, allocations: 0.562 MB / 1.395 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/1.414, allocations: 43.77 kB / 1.395 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/1.415, allocations: 0.6045 MB / 1.395 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/1.415, allocations: 278.1 kB / 1.396 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/1.415, allocations: 3.844 kB / 1.396 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.415, allocations: 343.1 kB / 1.396 GB, free: 24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/1.416, allocations: 303.7 kB / 1.396 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/1.416, allocations: 490.9 kB / 1.397 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007793/1.417, allocations: 326.6 kB / 1.397 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.417, allocations: 0 / 1.397 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001655/1.419, allocations: 0.8722 MB / 1.398 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002391/1.419, allocations: 0.5086 MB / 1.398 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.419, allocations: 0 / 1.398 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/1.419, allocations: 7.828 kB / 1.398 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/1.42, allocations: 185.4 kB / 1.399 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.42, allocations: 7.828 kB / 1.399 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.421, allocations: 186.7 kB / 1.399 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.421, allocations: 42.39 kB / 1.399 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/1.421, allocations: 3.875 kB / 1.399 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001299/1.422, allocations: 0.743 MB / 1.399 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.422, allocations: 7.781 kB / 1.399 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/1.422, allocations: 8.031 kB / 1.399 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/1.423, allocations: 162.3 kB / 1.4 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.423, allocations: 3.844 kB / 1.4 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009978/1.424, allocations: 174.9 kB / 1.4 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/1.424, allocations: 34.34 kB / 1.4 GB, free: 22.68 MB / 0.8386 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.0002812/1.424, allocations: 151.9 kB / 1.4 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009992/1.425, allocations: 0.6269 MB / 1.401 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/1.425, allocations: 84.88 kB / 1.401 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/1.427, allocations: 0.714 MB / 1.401 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.427, allocations: 7.781 kB / 1.401 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.427, allocations: 0 / 1.401 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.427, allocations: 3.984 kB / 1.401 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/1.429, allocations: 1.852 MB / 1.403 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/1.429, allocations: 7.906 kB / 1.403 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006577/1.43, allocations: 166.1 kB / 1.403 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/1.43, allocations: 3.812 kB / 1.403 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/1.43, allocations: 15.45 kB / 1.403 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/1.43, allocations: 11.64 kB / 1.403 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.43, allocations: 0 / 1.403 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/1.432, allocations: 1.211 MB / 1.405 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/1.432, allocations: 177.3 kB / 1.405 GB, free: 20.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/1.432, allocations: 22.95 kB / 1.405 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006662/1.433, allocations: 70.42 kB / 1.405 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/1.433, allocations: 116.4 kB / 1.405 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/1.433, allocations: 34.34 kB / 1.405 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005636/1.434, allocations: 417.2 kB / 1.405 GB, free: 20.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.434, allocations: 0 / 1.405 GB, free: 20.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0014/1.435, allocations: 461.6 kB / 1.406 GB, free: 20.2 MB / 0.8386 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.002185/1.437, allocations: 2.088 MB / 1.408 GB, free: 18.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002189/1.44, allocations: 1.466 MB / 1.409 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.44, allocations: 0.5625 kB / 1.409 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005021/1.44, allocations: 365.2 kB / 1.41 GB, free: 17.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009704/1.441, allocations: 153.7 kB / 1.41 GB, free: 17.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/1.445, allocations: 1.625 MB / 1.411 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/1.446, allocations: 1.146 MB / 1.412 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008612/1.447, allocations: 161.8 kB / 1.413 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/1.447, allocations: 499.9 kB / 1.413 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of SimCode: time 1.533e-06/1.447, allocations: 0 / 1.413 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08655/1.534, allocations: 20.85 MB / 1.433 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/1.534, allocations: 221.2 kB / 1.434 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/4.243, allocations: 2.344 kB / 1.434 GB, free: 9.141 MB / 0.8542 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