Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",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.41/2.41, allocations: 390.5 MB / 398 MB, free: 10.98 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.001181/0.001181, allocations: 191 kB / 491.2 MB, free: 1.602 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.943/1.943, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009271/0.000927, allocations: 87.91 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.764e-05, allocations: 4 kB / 1.073 GB, free: 181.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4062, allocations: 143 MB / 1.213 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/1.667, allocations: 150.2 MB / 1.359 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/1.667, allocations: 91.91 kB / 1.359 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005133/1.672, allocations: 1.836 MB / 1.361 GB, free: 33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.835e-06/1.672, allocations: 0 / 1.361 GB, free: 33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.727e-05/1.672, allocations: 3.812 kB / 1.361 GB, free: 33 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004806/1.673, allocations: 416.6 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.673, allocations: 7.688 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/1.673, allocations: 15.47 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/1.673, allocations: 214.1 kB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/1.673, allocations: 3.719 kB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/1.673, allocations: 7.656 kB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000159/1.673, allocations: 70.94 kB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/1.673, allocations: 101.3 kB / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.673, allocations: 0 / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/1.673, allocations: 0 / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.673, allocations: 7.906 kB / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007283/1.674, allocations: 475.5 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/1.674, allocations: 60.61 kB / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/1.674, allocations: 28.23 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/1.674, allocations: 4.75 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/1.674, allocations: 41.06 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/1.674, allocations: 4 kB / 1.363 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001998/1.675, allocations: 78.08 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/1.675, allocations: 51.41 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.675, allocations: 137.9 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/1.675, allocations: 33.52 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/1.675, allocations: 124.4 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/1.675, allocations: 15.38 kB / 1.363 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/1.675, allocations: 0 / 1.363 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.675, allocations: 328.7 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/1.675, allocations: 19.31 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/1.675, allocations: 42.3 kB / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/1.675, allocations: 24.55 kB / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.675, allocations: 0 / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001177/1.675, allocations: 85.11 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.675, allocations: 5.406 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.675, allocations: 0 / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.675, allocations: 5.25 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/1.675, allocations: 22.88 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.675, allocations: 0 / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.727e-05/1.676, allocations: 19.89 kB / 1.363 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/1.676, allocations: 7.75 kB / 1.363 GB, free: 31.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.507e-05/1.676, allocations: 106 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001123/1.676, allocations: 85.39 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/1.676, allocations: 12.25 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/1.676, allocations: 93.17 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.676, allocations: 0 / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.676, allocations: 7.891 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.676, allocations: 1.781 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/1.676, allocations: 360.6 kB / 1.364 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.676, allocations: 288 / 1.364 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-05/1.676, allocations: 26.95 kB / 1.364 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.676, allocations: 0 / 1.364 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/1.676, allocations: 5.391 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/1.676, allocations: 7.734 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.676, allocations: 0 / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/1.677, allocations: 197.2 kB / 1.364 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/1.677, allocations: 86.33 kB / 1.364 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/1.677, allocations: 6.953 kB / 1.364 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/1.677, allocations: 16.69 kB / 1.364 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/1.677, allocations: 17.92 kB / 1.364 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/1.677, allocations: 3.406 kB / 1.364 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.992e-05/1.677, allocations: 111.1 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.677, allocations: 4 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002172/1.677, allocations: 23.25 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003871/1.678, allocations: 0.8032 MB / 1.365 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001602/1.678, allocations: 60.91 kB / 1.365 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.678, allocations: 0 / 1.365 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.142e-05/1.678, allocations: 32.84 kB / 1.365 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/1.678, allocations: 23.47 kB / 1.365 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/1.679, allocations: 195.1 kB / 1.366 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/1.679, allocations: 0.7118 MB / 1.366 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.002e-05/1.679, allocations: 10.06 kB / 1.366 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/1.679, allocations: 35.92 kB / 1.366 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.679, allocations: 3.938 kB / 1.366 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/1.7, allocations: 2.182 MB / 1.369 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/1.7, allocations: 212 kB / 1.369 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/3.444, allocations: 9.875 kB / 1.369 GB, free: 28.41 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat does not exist to compare? outputFormat=mat