Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.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.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",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.302/2.302, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001095/0.001094, allocations: 180.8 kB / 487.4 MB, free: 5.051 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.477/1.477, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 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.0008978/0.0008979, allocations: 95.84 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.013e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2452, allocations: 142.4 MB / 1.206 GB, free: 43.75 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8079/1.053, allocations: 149.7 MB / 1.352 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/1.053, allocations: 79.41 kB / 1.352 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01054/1.064, allocations: 3.479 MB / 1.356 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.303e-06/1.064, allocations: 0 / 1.356 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.781e-05/1.064, allocations: 7.875 kB / 1.356 GB, free: 34.04 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007121/1.065, allocations: 0.4947 MB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.065, allocations: 12.41 kB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/1.065, allocations: 23.28 kB / 1.356 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/1.065, allocations: 258.7 kB / 1.357 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/1.065, allocations: 3.969 kB / 1.357 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/1.065, allocations: 11.53 kB / 1.357 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001738/1.066, allocations: 87.5 kB / 1.357 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/1.066, allocations: 123.9 kB / 1.357 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.066, allocations: 0 / 1.357 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/1.066, allocations: 0 / 1.357 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/1.066, allocations: 3.969 kB / 1.357 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/1.066, allocations: 0.5168 MB / 1.357 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/1.067, allocations: 104 kB / 1.357 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/1.067, allocations: 40.12 kB / 1.357 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/1.067, allocations: 3.906 kB / 1.357 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/1.067, allocations: 90.59 kB / 1.358 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/1.067, allocations: 0 / 1.358 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002373/1.067, allocations: 120.2 kB / 1.358 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/1.067, allocations: 55.59 kB / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/1.067, allocations: 153.1 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/1.067, allocations: 29.55 kB / 1.358 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/1.068, allocations: 141.3 kB / 1.358 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/1.068, allocations: 26.05 kB / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/1.068, allocations: 0 / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.068, allocations: 326.9 kB / 1.358 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.409e-05/1.068, allocations: 50.66 kB / 1.358 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/1.068, allocations: 86.09 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/1.068, allocations: 55.45 kB / 1.359 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.068, allocations: 0 / 1.359 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00036/1.069, allocations: 185.2 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/1.069, allocations: 36.8 kB / 1.359 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.069, allocations: 4.094 kB / 1.359 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.069, allocations: 7.109 kB / 1.359 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/1.069, allocations: 24.64 kB / 1.359 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/1.069, allocations: 7.75 kB / 1.359 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/1.069, allocations: 59.98 kB / 1.359 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/1.069, allocations: 12.61 kB / 1.359 GB, free: 32.18 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.relDam.greThr.greHys.y,relDam.greThr.greHys.y,relDam.and2.y,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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 8.404e-05/1.069, allocations: 110.4 kB / 1.359 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001519/1.069, allocations: 116.8 kB / 1.359 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/1.069, allocations: 19.5 kB / 1.359 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/1.07, allocations: 136.8 kB / 1.359 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.07, allocations: 3.844 kB / 1.359 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.07, allocations: 0.875 kB / 1.359 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.07, allocations: 0 / 1.359 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/1.07, allocations: 222 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.07, allocations: 0 / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/1.07, allocations: 32.81 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.07, allocations: 0 / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/1.07, allocations: 11.78 kB / 1.359 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.07, allocations: 0 / 1.359 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.07, allocations: 0 / 1.359 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/1.07, allocations: 157.9 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/1.07, allocations: 91.73 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/1.07, allocations: 3.812 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/1.07, allocations: 28.28 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/1.07, allocations: 19.77 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/1.071, allocations: 3.938 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.378e-05/1.071, allocations: 119.5 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.071, allocations: 0 / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002477/1.071, allocations: 45.53 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,relDam.greThr.greHys.y,relDam.and2.y,fanStatus.y) * Number of discrete states: 1 (relDam.greThr.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004779/1.071, allocations: 0.7073 MB / 1.361 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002694/1.072, allocations: 183.8 kB / 1.361 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.072, allocations: 0 / 1.361 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.764e-05/1.072, allocations: 55.09 kB / 1.361 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/1.072, allocations: 25.41 kB / 1.361 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/1.073, allocations: 240.8 kB / 1.361 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/1.073, allocations: 0.7289 MB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.773e-05/1.073, allocations: 15.7 kB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/1.073, allocations: 52.34 kB / 1.362 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.073, allocations: 0 / 1.362 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/1.096, allocations: 3.352 MB / 1.365 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/1.096, allocations: 181.6 kB / 1.365 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.728, allocations: 0 / 1.365 GB, free: 29.59 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat does not exist to compare? outputFormat=mat