Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.296/2.296, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.00126/0.00126, allocations: 176.8 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.474/1.474, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.001024/0.001024, allocations: 80.02 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.214e-05, allocations: 6.188 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2386, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9238/1.162, allocations: 154 MB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.163, allocations: 73.25 kB / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03634/1.199, allocations: 13.82 MB / 1.383 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.283e-06/1.199, allocations: 0 / 1.383 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.917e-05/1.199, allocations: 28 kB / 1.383 GB, free: 4.309 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.002128/1.201, allocations: 1.085 MB / 1.384 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.201, allocations: 8.031 kB / 1.384 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/1.202, allocations: 156 kB / 1.384 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/1.202, allocations: 122.5 kB / 1.384 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009771/1.203, allocations: 0.5886 MB / 1.385 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/1.203, allocations: 85.08 kB / 1.385 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.203, allocations: 105.8 kB / 1.385 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/1.205, allocations: 0.9333 MB / 1.386 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/1.205, allocations: 0 / 1.386 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/1.205, allocations: 45.38 kB / 1.386 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.205, allocations: 24 kB / 1.386 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/1.206, allocations: 0.683 MB / 1.387 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/1.21, allocations: 2.671 MB / 1.389 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/1.212, allocations: 0.7429 MB / 1.39 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/1.212, allocations: 314.6 kB / 1.39 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.629e-05/1.212, allocations: 12.77 kB / 1.39 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000595/1.213, allocations: 394 kB / 1.391 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 2.986e-06/1.213, allocations: 0 / 1.391 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77): time 0.001071/1.214, allocations: 0.573 MB / 1.391 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/1.214, allocations: 137.3 kB / 1.391 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007463/1.215, allocations: 0.6127 MB / 1.392 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/1.215, allocations: 40.77 kB / 1.392 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/1.215, allocations: 411.8 kB / 1.392 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/1.215, allocations: 228.3 kB / 1.393 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/1.215, allocations: 15.62 kB / 1.393 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.216, allocations: 332.6 kB / 1.393 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/1.216, allocations: 210.8 kB / 1.393 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/1.216, allocations: 297.6 kB / 1.393 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/1.217, allocations: 205.2 kB / 1.394 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.217, allocations: 4 kB / 1.394 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009721/1.218, allocations: 0.596 MB / 1.394 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/1.218, allocations: 192.3 kB / 1.394 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.218, allocations: 0 / 1.394 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.218, allocations: 11.88 kB / 1.394 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/1.219, allocations: 149.6 kB / 1.395 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/1.219, allocations: 4 kB / 1.395 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/1.219, allocations: 130.3 kB / 1.395 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/1.219, allocations: 27.61 kB / 1.395 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/1.219, allocations: 5.719 kB / 1.395 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008201/1.22, allocations: 0.4973 MB / 1.395 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/1.22, allocations: 4 kB / 1.395 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/1.22, allocations: 0 / 1.395 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/1.221, allocations: 150.4 kB / 1.395 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.221, allocations: 7.938 kB / 1.395 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/1.221, allocations: 125.7 kB / 1.395 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/1.221, allocations: 22.44 kB / 1.395 GB, free: 10.36 MB / 0.8542 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.0001783/1.222, allocations: 149.6 kB / 1.396 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/1.222, allocations: 90.86 kB / 1.396 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/1.223, allocations: 0.648 MB / 1.396 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/1.223, allocations: 8 kB / 1.396 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.223, allocations: 0 / 1.396 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.223, allocations: 11.92 kB / 1.396 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/1.225, allocations: 1.646 MB / 1.398 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.225, allocations: 0 / 1.398 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/1.226, allocations: 147.4 kB / 1.398 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/1.226, allocations: 4 kB / 1.398 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/1.226, allocations: 18.55 kB / 1.398 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.226, allocations: 4 kB / 1.398 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.226, allocations: 3.984 kB / 1.398 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/1.227, allocations: 1.068 MB / 1.399 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/1.228, allocations: 170 kB / 1.399 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/1.228, allocations: 17.3 kB / 1.399 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/1.228, allocations: 81.81 kB / 1.399 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/1.229, allocations: 96.39 kB / 1.4 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/1.229, allocations: 19.88 kB / 1.4 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005314/1.229, allocations: 479.3 kB / 1.4 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.31e-07/1.229, allocations: 0 / 1.4 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007491/1.23, allocations: 309.1 kB / 1.4 GB, free: 6.586 MB / 0.8542 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.001878/1.232, allocations: 1.795 MB / 1.402 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.233, allocations: 0.8862 MB / 1.403 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.233, allocations: 0 / 1.403 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005224/1.234, allocations: 335.5 kB / 1.403 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/1.234, allocations: 115.9 kB / 1.403 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/1.237, allocations: 1.235 MB / 1.405 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/1.237, allocations: 1.016 MB / 1.406 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006389/1.238, allocations: 136.3 kB / 1.406 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/1.238, allocations: 352.9 kB / 1.406 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/1.238, allocations: 0 / 1.406 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/1.271, allocations: 16.27 MB / 1.422 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/1.271, allocations: 204.4 kB / 1.422 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.845, allocations: 1.828 kB / 1.422 GB, free: 1.648 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat