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.208/2.208, allocations: 390.5 MB / 398 MB, free: 10.97 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.001107/0.001107, allocations: 175.8 kB / 491.2 MB, free: 1.605 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.542/1.542, 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.0009924/0.0009926, allocations: 91.89 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.132e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3025, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8366/1.139, allocations: 153.3 MB / 1.362 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/1.139, allocations: 77.56 kB / 1.362 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03224/1.172, allocations: 13.71 MB / 1.376 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.172, allocations: 0 / 1.376 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.636e-05/1.172, allocations: 29.56 kB / 1.376 GB, free: 32.13 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.00225/1.174, allocations: 1.088 MB / 1.377 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.174, allocations: 11.59 kB / 1.377 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/1.174, allocations: 124.3 kB / 1.377 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/1.175, allocations: 0.576 MB / 1.377 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/1.175, allocations: 41.97 kB / 1.377 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/1.175, allocations: 58.06 kB / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00111/1.176, allocations: 0.641 MB / 1.378 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.178, allocations: 0.7738 MB / 1.379 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.178, allocations: 4 kB / 1.379 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/1.178, allocations: 0 / 1.379 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/1.178, allocations: 26.97 kB / 1.379 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/1.181, allocations: 2.432 MB / 1.381 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009898/1.182, allocations: 0.703 MB / 1.382 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/1.183, allocations: 289 kB / 1.382 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/1.183, allocations: 12.28 kB / 1.382 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004968/1.183, allocations: 367.3 kB / 1.383 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.094e-06/1.183, allocations: 0 / 1.383 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.000848/1.184, allocations: 0.5107 MB / 1.383 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.184, allocations: 141.1 kB / 1.383 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/1.185, allocations: 404.7 kB / 1.384 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/1.185, allocations: 29.08 kB / 1.384 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/1.185, allocations: 434.8 kB / 1.384 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/1.185, allocations: 209.7 kB / 1.384 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/1.185, allocations: 7.875 kB / 1.384 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.185, allocations: 375.3 kB / 1.385 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/1.186, allocations: 196.4 kB / 1.385 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/1.186, allocations: 280.2 kB / 1.385 GB, free: 28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/1.186, allocations: 187.9 kB / 1.385 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.186, allocations: 0 / 1.385 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007186/1.187, allocations: 0.5383 MB / 1.386 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.684e-05/1.187, allocations: 192.2 kB / 1.386 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/1.187, allocations: 0 / 1.386 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.187, allocations: 3.844 kB / 1.386 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/1.188, allocations: 146.4 kB / 1.386 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.188, allocations: 7.875 kB / 1.386 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/1.188, allocations: 101.3 kB / 1.386 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/1.188, allocations: 25.92 kB / 1.386 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/1.188, allocations: 3.875 kB / 1.386 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006606/1.189, allocations: 449.6 kB / 1.387 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/1.189, allocations: 0 / 1.387 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.9e-06/1.189, allocations: 3.812 kB / 1.387 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/1.189, allocations: 145.1 kB / 1.387 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.189, allocations: 11.77 kB / 1.387 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/1.19, allocations: 88.27 kB / 1.387 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/1.19, allocations: 22.5 kB / 1.387 GB, free: 27.45 MB / 0.8386 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.000153/1.19, allocations: 128.3 kB / 1.387 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006734/1.191, allocations: 0.5001 MB / 1.388 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/1.191, allocations: 70.11 kB / 1.388 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008483/1.192, allocations: 0.5628 MB / 1.388 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/1.192, allocations: 11.77 kB / 1.388 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.192, allocations: 0 / 1.388 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/1.192, allocations: 3.984 kB / 1.388 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/1.194, allocations: 1.448 MB / 1.39 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.194, allocations: 3.875 kB / 1.39 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/1.194, allocations: 153.8 kB / 1.39 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/1.194, allocations: 7.797 kB / 1.39 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/1.194, allocations: 3.984 kB / 1.39 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.194, allocations: 3.844 kB / 1.39 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.194, allocations: 3.688 kB / 1.39 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/1.195, allocations: 0.9953 MB / 1.391 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/1.195, allocations: 143.3 kB / 1.391 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/1.196, allocations: 7.719 kB / 1.391 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/1.196, allocations: 70.33 kB / 1.391 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/1.196, allocations: 90.8 kB / 1.391 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/1.196, allocations: 22.25 kB / 1.391 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002485/1.197, allocations: 286.5 kB / 1.391 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.11e-07/1.197, allocations: 0 / 1.391 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007319/1.197, allocations: 313.3 kB / 1.392 GB, free: 25.71 MB / 0.8386 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.001627/1.199, allocations: 1.712 MB / 1.393 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001083/1.2, allocations: 0.8223 MB / 1.394 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.2, allocations: 0 / 1.394 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004046/1.2, allocations: 318 kB / 1.394 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/1.201, allocations: 81.25 kB / 1.395 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/1.203, allocations: 1.15 MB / 1.396 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/1.204, allocations: 1.013 MB / 1.397 GB, free: 23.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005914/1.205, allocations: 112.5 kB / 1.397 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/1.205, allocations: 342.1 kB / 1.397 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of SimCode: time 9.52e-07/1.205, allocations: 0 / 1.397 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/1.238, allocations: 13.16 MB / 1.41 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/1.239, allocations: 199.3 kB / 1.41 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.661, allocations: 5.031 kB / 1.41 GB, free: 13.6 MB / 0.8386 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