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.209/2.209, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.0009591/0.0009591, allocations: 184.4 kB / 487.4 MB, free: 5.07 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.694/1.694, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 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.0009467/0.0009466, allocations: 96.72 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.242e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2477, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8839/1.132, allocations: 153.2 MB / 1.356 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.132, allocations: 77.73 kB / 1.356 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04874/1.181, allocations: 21.16 MB / 1.376 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.181, allocations: 3.906 kB / 1.376 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.187e-05/1.181, allocations: 34.84 kB / 1.377 GB, free: 30.86 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.002406/1.183, allocations: 1.537 MB / 1.378 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.183, allocations: 11.41 kB / 1.378 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/1.184, allocations: 174.4 kB / 1.378 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/1.185, allocations: 0.935 MB / 1.379 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-05/1.185, allocations: 46.19 kB / 1.379 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/1.185, allocations: 92.44 kB / 1.379 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00139/1.187, allocations: 0.8115 MB / 1.38 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/1.188, allocations: 1.046 MB / 1.381 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/1.188, allocations: 0 / 1.381 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/1.189, allocations: 7.75 kB / 1.381 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/1.189, allocations: 30.94 kB / 1.381 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005496/1.194, allocations: 3.416 MB / 1.384 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/1.195, allocations: 0.9889 MB / 1.385 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/1.196, allocations: 341.9 kB / 1.386 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.626e-05/1.196, allocations: 12.56 kB / 1.386 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006439/1.197, allocations: 469.3 kB / 1.386 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=94): time 3.015e-06/1.197, allocations: 0 / 1.386 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=94): time 0.001031/1.198, allocations: 0.6338 MB / 1.387 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.198, allocations: 225.6 kB / 1.387 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/1.198, allocations: 0.5564 MB / 1.388 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/1.198, allocations: 48.25 kB / 1.388 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/1.199, allocations: 0.5929 MB / 1.388 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/1.199, allocations: 276.3 kB / 1.388 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/1.199, allocations: 7.844 kB / 1.388 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.199, allocations: 346.9 kB / 1.389 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004289/1.2, allocations: 305.6 kB / 1.389 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005205/1.2, allocations: 489 kB / 1.39 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/1.201, allocations: 330.9 kB / 1.39 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.201, allocations: 0 / 1.39 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001268/1.202, allocations: 0.8732 MB / 1.391 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000182/1.202, allocations: 0.5108 MB / 1.391 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.202, allocations: 0 / 1.391 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.202, allocations: 7.953 kB / 1.391 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/1.203, allocations: 184.5 kB / 1.391 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.203, allocations: 3.844 kB / 1.391 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008363/1.204, allocations: 183.5 kB / 1.392 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/1.204, allocations: 44.27 kB / 1.392 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/1.204, allocations: 6 kB / 1.392 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/1.205, allocations: 0.7469 MB / 1.392 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.205, allocations: 0 / 1.392 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/1.205, allocations: 11.72 kB / 1.392 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/1.206, allocations: 164.1 kB / 1.393 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.206, allocations: 7.625 kB / 1.393 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/1.206, allocations: 170.8 kB / 1.393 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/1.206, allocations: 37.67 kB / 1.393 GB, free: 24.16 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.0002048/1.207, allocations: 138.9 kB / 1.393 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008126/1.207, allocations: 0.6351 MB / 1.393 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/1.208, allocations: 93.34 kB / 1.394 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009996/1.209, allocations: 0.7016 MB / 1.394 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/1.209, allocations: 11.22 kB / 1.394 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.209, allocations: 0 / 1.394 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.209, allocations: 7.984 kB / 1.394 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/1.211, allocations: 1.852 MB / 1.396 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/1.211, allocations: 7.766 kB / 1.396 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/1.211, allocations: 161.7 kB / 1.396 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/1.211, allocations: 11.53 kB / 1.396 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/1.211, allocations: 10.77 kB / 1.396 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.211, allocations: 3.781 kB / 1.396 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.211, allocations: 3.953 kB / 1.396 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.213, allocations: 1.218 MB / 1.397 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.213, allocations: 176.3 kB / 1.398 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.213, allocations: 15 kB / 1.398 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/1.213, allocations: 74.25 kB / 1.398 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/1.214, allocations: 119.9 kB / 1.398 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/1.214, allocations: 26.48 kB / 1.398 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003799/1.214, allocations: 419.6 kB / 1.398 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.214, allocations: 3.938 kB / 1.398 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009306/1.215, allocations: 469.2 kB / 1.399 GB, free: 22.07 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.001776/1.217, allocations: 2.087 MB / 1.401 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00163/1.218, allocations: 1.46 MB / 1.402 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.218, allocations: 0 / 1.402 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/1.219, allocations: 366.7 kB / 1.403 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/1.22, allocations: 160.5 kB / 1.403 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/1.222, allocations: 1.623 MB / 1.404 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/1.223, allocations: 1.143 MB / 1.405 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007176/1.224, allocations: 160.5 kB / 1.406 GB, free: 18.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005012/1.224, allocations: 492.8 kB / 1.406 GB, free: 18.73 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.224, allocations: 0 / 1.406 GB, free: 18.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04807/1.272, allocations: 20.85 MB / 1.426 GB, free: 140 kB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/1.273, allocations: 203.7 kB / 1.427 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.942, allocations: 1.562 kB / 1.427 GB, free: 15.87 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