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.301/2.301, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001198/0.001198, allocations: 168 kB / 0.4901 GB, free: 2.289 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.57/1.57, allocations: 223.1 MB / 0.7992 GB, free: 15.55 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.0009354/0.0009353, allocations: 92.33 kB / 0.9396 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004028, allocations: 9.594 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2654, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.4551, allocations: 154.1 MB / 1.38 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.4555, allocations: 75.95 kB / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03468/0.4901, allocations: 13.84 MB / 1.393 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.946e-06/0.4902, allocations: 0 / 1.393 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.071e-05/0.4903, allocations: 28 kB / 1.393 GB, free: 13.11 MB / 0.9011 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.002069/0.4923, allocations: 1.169 MB / 1.395 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.4924, allocations: 12.56 kB / 1.395 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000188/0.4926, allocations: 156.6 kB / 1.395 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.4928, allocations: 130.5 kB / 1.395 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009504/0.4938, allocations: 0.5862 MB / 1.395 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/0.4938, allocations: 82.08 kB / 1.395 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.494, allocations: 100 kB / 1.396 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.4958, allocations: 1.041 MB / 1.397 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.4958, allocations: 0 / 1.397 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.615e-05/0.4959, allocations: 44 kB / 1.397 GB, free: 9.648 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.496, allocations: 24 kB / 1.397 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.4978, allocations: 0.8747 MB / 1.398 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.502, allocations: 2.675 MB / 1.4 GB, free: 6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.5038, allocations: 0.8768 MB / 1.401 GB, free: 5.098 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.864e-05/0.5038, allocations: 8.75 kB / 1.401 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009952/0.5048, allocations: 484.1 kB / 1.401 GB, free: 4.598 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 2.515e-06/0.5049, allocations: 0 / 1.401 GB, free: 4.598 MB / 0.9011 GB Notification: Performance of matching and sorting (n=77): time 0.002332/0.5072, allocations: 1.045 MB / 1.402 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.5073, allocations: 141.2 kB / 1.403 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007588/0.5081, allocations: 0.6246 MB / 1.403 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/0.5081, allocations: 41.7 kB / 1.403 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.5085, allocations: 416.4 kB / 1.404 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.5086, allocations: 228.7 kB / 1.404 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.5087, allocations: 12 kB / 1.404 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5088, allocations: 333.9 kB / 1.404 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.5095, allocations: 305.2 kB / 1.404 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007349/0.5102, allocations: 389.9 kB / 1.405 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006607/0.5109, allocations: 291.4 kB / 1.405 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5109, allocations: 0 / 1.405 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.5416/1.052, allocations: 0.789 MB / 1.406 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.52e-05/1.053, allocations: 186.2 kB / 1.406 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.053, allocations: 0 / 1.406 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/1.053, allocations: 4.625 kB / 1.406 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/1.054, allocations: 150.8 kB / 1.406 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.054, allocations: 3.5 kB / 1.406 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/1.054, allocations: 134.9 kB / 1.406 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/1.054, allocations: 24.06 kB / 1.406 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.054, allocations: 7.781 kB / 1.406 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001717/1.056, allocations: 0.6526 MB / 1.407 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.056, allocations: 2.703 kB / 1.407 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/1.056, allocations: 3.219 kB / 1.407 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/1.057, allocations: 142.8 kB / 1.407 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.057, allocations: 6.375 kB / 1.407 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/1.058, allocations: 138.8 kB / 1.407 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/1.058, allocations: 20.86 kB / 1.407 GB, free: 164.4 MB / 0.9011 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 () * Number of clocked 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.0004917/1.058, allocations: 318.1 kB / 1.408 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/1.058, allocations: 85.25 kB / 1.408 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/1.06, allocations: 0.8217 MB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.06, allocations: 11.8 kB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/1.06, allocations: 2.625 kB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/1.06, allocations: 4.219 kB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/1.063, allocations: 1.817 MB / 1.41 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.063, allocations: 3.406 kB / 1.41 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/1.064, allocations: 149.9 kB / 1.41 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.064, allocations: 3.281 kB / 1.41 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/1.064, allocations: 19.05 kB / 1.41 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/1.064, allocations: 5.297 kB / 1.41 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.064, allocations: 0 / 1.41 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/1.067, allocations: 1.337 MB / 1.412 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/1.067, allocations: 173.7 kB / 1.412 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.172e-05/1.067, allocations: 17.48 kB / 1.412 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/1.067, allocations: 82.73 kB / 1.412 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/1.068, allocations: 93.03 kB / 1.412 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/1.068, allocations: 25.16 kB / 1.412 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006228/1.068, allocations: 475 kB / 1.413 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.5e-07/1.068, allocations: 0 / 1.413 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009228/1.069, allocations: 306.1 kB / 1.413 GB, free: 163.3 MB / 0.9011 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) * Number of clocked states: 0 () * 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.002864/1.072, allocations: 2.064 MB / 1.415 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002629/1.075, allocations: 1.113 MB / 1.416 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.075, allocations: 1.188 kB / 1.416 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009227/1.076, allocations: 432.9 kB / 1.416 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/1.076, allocations: 113.9 kB / 1.417 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008712/1.085, allocations: 5.082 MB / 1.421 GB, free: 160.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/1.086, allocations: 1.016 MB / 1.422 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000611/1.086, allocations: 99.88 kB / 1.423 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/1.087, allocations: 364.4 kB / 1.423 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.633e-06/1.087, allocations: 1.312 kB / 1.423 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/1.126, allocations: 15.27 MB / 1.438 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.126, allocations: 233.6 kB / 1.438 GB, free: 158.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.693, allocations: 0 / 1.438 GB, free: 158.7 MB / 0.9011 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