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.342/2.342, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001029/0.001029, allocations: 165 kB / 492.3 MB, free: 0.6016 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.521/1.521, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001098/0.001098, allocations: 94.77 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.724e-05/4.758e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3246, allocations: 142.4 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9543/1.279, allocations: 153.9 MB / 1.363 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/1.279, allocations: 71.44 kB / 1.363 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04867/1.328, allocations: 21.32 MB / 1.384 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.724e-06/1.328, allocations: 0 / 1.384 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.811e-05/1.328, allocations: 42.31 kB / 1.384 GB, free: 30.59 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.002302/1.33, allocations: 1.53 MB / 1.385 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.33, allocations: 11.53 kB / 1.385 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/1.331, allocations: 198.4 kB / 1.385 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/1.331, allocations: 177.6 kB / 1.386 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/1.332, allocations: 0.9302 MB / 1.387 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/1.332, allocations: 118 kB / 1.387 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/1.332, allocations: 157 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/1.334, allocations: 1.237 MB / 1.388 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/1.334, allocations: 0 / 1.388 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/1.334, allocations: 63.12 kB / 1.388 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/1.334, allocations: 30.91 kB / 1.388 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/1.336, allocations: 0.878 MB / 1.389 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/1.341, allocations: 3.737 MB / 1.393 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/1.342, allocations: 1.031 MB / 1.394 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000438/1.343, allocations: 368 kB / 1.394 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.687e-05/1.343, allocations: 12.45 kB / 1.394 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006921/1.343, allocations: 0.4931 MB / 1.394 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=94): time 2.886e-06/1.343, allocations: 0 / 1.394 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=94): time 0.001178/1.344, allocations: 0.707 MB / 1.395 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/1.345, allocations: 217.9 kB / 1.395 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00099/1.346, allocations: 0.8248 MB / 1.396 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/1.346, allocations: 62.7 kB / 1.396 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/1.346, allocations: 0.5878 MB / 1.397 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/1.346, allocations: 289.6 kB / 1.397 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/1.346, allocations: 21.34 kB / 1.397 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.346, allocations: 339 kB / 1.397 GB, free: 25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.347, allocations: 331.3 kB / 1.398 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/1.348, allocations: 0.504 MB / 1.398 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/1.348, allocations: 394.1 kB / 1.399 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.348, allocations: 0 / 1.399 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001348/1.349, allocations: 0.9959 MB / 1.4 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/1.35, allocations: 0.5147 MB / 1.4 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.35, allocations: 3.844 kB / 1.4 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.35, allocations: 3.844 kB / 1.4 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/1.35, allocations: 176.8 kB / 1.4 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.35, allocations: 3.719 kB / 1.4 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000959/1.351, allocations: 240.8 kB / 1.4 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/1.351, allocations: 40.77 kB / 1.401 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/1.351, allocations: 3.969 kB / 1.401 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/1.353, allocations: 0.879 MB / 1.401 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.353, allocations: 3.844 kB / 1.401 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/1.353, allocations: 3.844 kB / 1.401 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/1.353, allocations: 171.4 kB / 1.402 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.353, allocations: 3.844 kB / 1.402 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/1.354, allocations: 218.2 kB / 1.402 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/1.354, allocations: 38.48 kB / 1.402 GB, free: 23.47 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.0002172/1.354, allocations: 185.3 kB / 1.402 GB, free: 23.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.354, allocations: 116.8 kB / 1.402 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/1.356, allocations: 0.7996 MB / 1.403 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.356, allocations: 8 kB / 1.403 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.356, allocations: 0 / 1.403 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/1.356, allocations: 7.984 kB / 1.403 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/1.358, allocations: 2.1 MB / 1.405 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.358, allocations: 0 / 1.405 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/1.359, allocations: 165.2 kB / 1.405 GB, free: 21.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.359, allocations: 4 kB / 1.405 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/1.359, allocations: 22.61 kB / 1.405 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/1.359, allocations: 7.953 kB / 1.405 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.359, allocations: 7.938 kB / 1.405 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/1.361, allocations: 1.309 MB / 1.406 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/1.361, allocations: 204.9 kB / 1.407 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.361, allocations: 28.56 kB / 1.407 GB, free: 19.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/1.362, allocations: 91.97 kB / 1.407 GB, free: 19.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.362, allocations: 130 kB / 1.407 GB, free: 19.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/1.362, allocations: 31.23 kB / 1.407 GB, free: 19.76 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007185/1.363, allocations: 0.6141 MB / 1.407 GB, free: 19.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.363, allocations: 0 / 1.407 GB, free: 19.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001094/1.364, allocations: 472.9 kB / 1.408 GB, free: 18.88 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.002151/1.366, allocations: 2.201 MB / 1.41 GB, free: 17.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002059/1.368, allocations: 1.547 MB / 1.412 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.368, allocations: 4 kB / 1.412 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004727/1.368, allocations: 387.7 kB / 1.412 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008314/1.369, allocations: 189.6 kB / 1.412 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/1.372, allocations: 1.745 MB / 1.414 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/1.373, allocations: 1.143 MB / 1.415 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008714/1.374, allocations: 192.2 kB / 1.415 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/1.374, allocations: 0.4923 MB / 1.416 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of SimCode: time 1.523e-06/1.374, allocations: 0 / 1.416 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04536/1.42, allocations: 24.8 MB / 1.44 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/1.42, allocations: 216.8 kB / 1.44 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/4.147, allocations: 0 / 1.44 GB, free: 3.871 MB / 0.8542 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