Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_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 9.1.1-maint.9.1.x/package.mo): time 2.578/2.578, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001157/0.001157, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.502/1.502, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 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.0009346/0.0009342, allocations: 97.56 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.506e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3036, allocations: 142.4 MB / 1.206 GB, free: 43.78 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.333, allocations: 149 MB / 1.352 GB, free: 17.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.334, allocations: 77.92 kB / 1.352 GB, free: 17.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006797/1.34, allocations: 1.813 MB / 1.353 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.247e-06/1.34, allocations: 0 / 1.353 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.913e-05/1.34, allocations: 3.75 kB / 1.353 GB, free: 33.59 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.0007128/1.341, allocations: 419.3 kB / 1.354 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.426e-05/1.341, allocations: 7.656 kB / 1.354 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/1.341, allocations: 16.36 kB / 1.354 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/1.342, allocations: 212.5 kB / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/1.342, allocations: 8.484 kB / 1.354 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/1.342, allocations: 7.594 kB / 1.354 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002033/1.342, allocations: 68.41 kB / 1.354 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/1.342, allocations: 98.55 kB / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/1.342, allocations: 0 / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/1.342, allocations: 0 / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.342, allocations: 3.875 kB / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/1.343, allocations: 477.2 kB / 1.355 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/1.344, allocations: 68.92 kB / 1.355 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/1.344, allocations: 22.89 kB / 1.355 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/1.344, allocations: 0 / 1.355 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.344, allocations: 38.62 kB / 1.355 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/1.344, allocations: 0 / 1.355 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002668/1.344, allocations: 84.09 kB / 1.355 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/1.344, allocations: 51.97 kB / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/1.344, allocations: 142.9 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/1.344, allocations: 26.36 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/1.344, allocations: 119.2 kB / 1.355 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/1.344, allocations: 22.45 kB / 1.355 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-06/1.344, allocations: 0 / 1.355 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.345, allocations: 324.8 kB / 1.356 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/1.345, allocations: 23.19 kB / 1.356 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/1.345, allocations: 40.77 kB / 1.356 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/1.345, allocations: 23.91 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.345, allocations: 0 / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001281/1.345, allocations: 92.31 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.345, allocations: 9.5 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.345, allocations: 0 / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.345, allocations: 0.6562 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/1.345, allocations: 27.3 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.345, allocations: 0 / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/1.345, allocations: 19.84 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/1.345, allocations: 5.297 kB / 1.356 GB, free: 31.88 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 0.0001001/1.345, allocations: 109.4 kB / 1.356 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001256/1.346, allocations: 73.81 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/1.346, allocations: 12.17 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/1.346, allocations: 98.84 kB / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.346, allocations: 3.844 kB / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.346, allocations: 4 kB / 1.356 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.346, allocations: 4.703 kB / 1.356 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/1.346, allocations: 357.8 kB / 1.356 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.346, allocations: 3.812 kB / 1.356 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/1.346, allocations: 15.34 kB / 1.356 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.346, allocations: 0.7969 kB / 1.356 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.346, allocations: 3.969 kB / 1.356 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.346, allocations: 0.9219 kB / 1.356 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.346, allocations: 7.984 kB / 1.356 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/1.347, allocations: 198.2 kB / 1.357 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/1.347, allocations: 82.47 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/1.347, allocations: 3.844 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/1.347, allocations: 24.25 kB / 1.357 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/1.347, allocations: 17.69 kB / 1.357 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.347, allocations: 3.875 kB / 1.357 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.362e-05/1.347, allocations: 105.2 kB / 1.357 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.347, allocations: 0 / 1.357 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002547/1.347, allocations: 26.78 kB / 1.357 GB, free: 31.05 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.0007168/1.348, allocations: 0.8085 MB / 1.358 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001863/1.348, allocations: 56.66 kB / 1.358 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.348, allocations: 3.812 kB / 1.358 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/1.348, allocations: 30.25 kB / 1.358 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/1.349, allocations: 34.67 kB / 1.358 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006237/1.349, allocations: 189.6 kB / 1.358 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/1.35, allocations: 0.7159 MB / 1.359 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.939e-05/1.35, allocations: 11.03 kB / 1.359 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.625e-05/1.35, allocations: 33.06 kB / 1.359 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.35, allocations: 3.844 kB / 1.359 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/1.375, allocations: 2.184 MB / 1.361 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.375, allocations: 183.1 kB / 1.361 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/3.023, allocations: 0 / 1.361 GB, free: 29.1 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_9_Buildings.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_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat does not exist to compare? outputFormat=mat