Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 387.1 MB / 399.7 MB, free: 9.418 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.001326/0.001326, allocations: 180.9 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.48/1.48, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0009769/0.0009769, allocations: 99.88 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.722e-05/2.742e-05, allocations: 0 / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2318, allocations: 142.3 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8683/1.1, allocations: 153.2 MB / 1.362 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/1.1, allocations: 71.8 kB / 1.362 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03201/1.132, allocations: 13.82 MB / 1.376 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.644e-06/1.132, allocations: 0 / 1.376 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.097e-05/1.133, allocations: 26.55 kB / 1.376 GB, free: 33.72 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.001673/1.134, allocations: 1.092 MB / 1.377 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.134, allocations: 11.53 kB / 1.377 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/1.134, allocations: 152.2 kB / 1.377 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/1.135, allocations: 132 kB / 1.377 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000772/1.135, allocations: 0.5799 MB / 1.378 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.125e-05/1.135, allocations: 82.73 kB / 1.378 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.136, allocations: 103.5 kB / 1.378 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/1.137, allocations: 0.9302 MB / 1.379 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/1.137, allocations: 0 / 1.379 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/1.137, allocations: 41.88 kB / 1.379 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/1.137, allocations: 30.95 kB / 1.379 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/1.138, allocations: 0.6804 MB / 1.379 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/1.142, allocations: 2.676 MB / 1.382 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/1.143, allocations: 0.7453 MB / 1.383 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/1.143, allocations: 310.6 kB / 1.383 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.438e-05/1.143, allocations: 12.52 kB / 1.383 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/1.144, allocations: 392.5 kB / 1.384 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 3.266e-06/1.144, allocations: 0 / 1.384 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0008713/1.145, allocations: 0.5726 MB / 1.384 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/1.145, allocations: 136.9 kB / 1.384 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/1.145, allocations: 0.6136 MB / 1.385 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/1.145, allocations: 39.61 kB / 1.385 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/1.146, allocations: 420 kB / 1.385 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/1.146, allocations: 229 kB / 1.385 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/1.146, allocations: 14.34 kB / 1.385 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.146, allocations: 327.5 kB / 1.386 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/1.146, allocations: 212.1 kB / 1.386 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/1.147, allocations: 299.9 kB / 1.386 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/1.147, allocations: 204.5 kB / 1.386 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.147, allocations: 0 / 1.386 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008014/1.148, allocations: 0.6031 MB / 1.387 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/1.148, allocations: 189.6 kB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.148, allocations: 4.031 kB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/1.148, allocations: 3.812 kB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/1.148, allocations: 151.6 kB / 1.387 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.148, allocations: 3.844 kB / 1.387 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/1.149, allocations: 138.4 kB / 1.388 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/1.149, allocations: 18.78 kB / 1.388 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/1.149, allocations: 3.688 kB / 1.388 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007232/1.15, allocations: 0.5041 MB / 1.388 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/1.15, allocations: 0 / 1.388 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/1.15, allocations: 11.7 kB / 1.388 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/1.15, allocations: 146.8 kB / 1.388 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/1.15, allocations: 0 / 1.388 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/1.151, allocations: 138.5 kB / 1.388 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/1.151, allocations: 19.17 kB / 1.388 GB, free: 28.77 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.0001708/1.151, allocations: 149.2 kB / 1.388 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/1.151, allocations: 85.12 kB / 1.389 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/1.152, allocations: 0.6423 MB / 1.389 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/1.152, allocations: 15.48 kB / 1.389 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.152, allocations: 0 / 1.389 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.152, allocations: 3.984 kB / 1.389 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/1.154, allocations: 1.64 MB / 1.391 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.154, allocations: 3.953 kB / 1.391 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/1.155, allocations: 152.2 kB / 1.391 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/1.155, allocations: 3.656 kB / 1.391 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/1.155, allocations: 19.08 kB / 1.391 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/1.155, allocations: 7.594 kB / 1.391 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.155, allocations: 3.875 kB / 1.391 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/1.156, allocations: 1.066 MB / 1.392 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/1.156, allocations: 176.7 kB / 1.392 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/1.156, allocations: 14.34 kB / 1.392 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/1.157, allocations: 83.7 kB / 1.392 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/1.157, allocations: 89.59 kB / 1.392 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/1.157, allocations: 25.95 kB / 1.392 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004937/1.158, allocations: 468.1 kB / 1.393 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.158, allocations: 0 / 1.393 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007253/1.158, allocations: 305.4 kB / 1.393 GB, free: 27.06 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.001786/1.16, allocations: 1.81 MB / 1.395 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001371/1.162, allocations: 0.8808 MB / 1.396 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.162, allocations: 0 / 1.396 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004441/1.162, allocations: 340.9 kB / 1.396 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/1.163, allocations: 115.8 kB / 1.396 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/1.165, allocations: 1.213 MB / 1.397 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/1.165, allocations: 1.011 MB / 1.398 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005977/1.166, allocations: 141.2 kB / 1.399 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/1.166, allocations: 365.4 kB / 1.399 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of SimCode: time 8.51e-07/1.166, allocations: 0 / 1.399 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/1.198, allocations: 16.27 MB / 1.415 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.198, allocations: 209.3 kB / 1.415 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/3.709, allocations: 0 / 1.415 GB, free: 9.887 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat