Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.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.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_FreezeProtection_Disable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_FreezeProtection_Disable",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.254/2.254, allocations: 390.3 MB / 402.8 MB, free: 6.746 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.001279/0.001279, allocations: 195.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0008872/0.0008873, allocations: 91.89 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.671e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2755, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9341/1.21, allocations: 159.2 MB / 1.374 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.21, allocations: 85.38 kB / 1.374 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01586/1.226, allocations: 6.934 MB / 1.381 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.226, allocations: 0 / 1.381 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.226, allocations: 8 kB / 1.381 GB, free: 5.191 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008953/1.227, allocations: 0.5294 MB / 1.382 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.227, allocations: 12.03 kB / 1.382 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/1.227, allocations: 48.23 kB / 1.382 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/1.227, allocations: 31 kB / 1.382 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/1.227, allocations: 268.7 kB / 1.382 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.227, allocations: 14.12 kB / 1.382 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/1.227, allocations: 19.62 kB / 1.382 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/1.228, allocations: 194.7 kB / 1.382 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.228, allocations: 3.938 kB / 1.382 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/1.228, allocations: 7.359 kB / 1.382 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.228, allocations: 4 kB / 1.382 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/1.228, allocations: 106.8 kB / 1.382 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/1.229, allocations: 1.131 MB / 1.384 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/1.23, allocations: 157.1 kB / 1.384 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/1.23, allocations: 62.11 kB / 1.384 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/1.23, allocations: 4 kB / 1.384 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/1.23, allocations: 38.44 kB / 1.384 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/1.23, allocations: 3.938 kB / 1.384 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0003305/1.23, allocations: 127.7 kB / 1.384 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/1.23, allocations: 162.2 kB / 1.384 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/1.23, allocations: 196 kB / 1.384 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/1.231, allocations: 25.7 kB / 1.384 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/1.231, allocations: 143.6 kB / 1.384 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/1.231, allocations: 41.75 kB / 1.384 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/1.231, allocations: 2.812 kB / 1.384 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.231, allocations: 329.8 kB / 1.385 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/1.231, allocations: 36.44 kB / 1.385 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/1.231, allocations: 69.27 kB / 1.385 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/1.231, allocations: 29.41 kB / 1.385 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/1.231, allocations: 0 / 1.385 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002128/1.231, allocations: 136.7 kB / 1.385 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.231, allocations: 8 kB / 1.385 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.231, allocations: 0 / 1.385 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.231, allocations: 4 kB / 1.385 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/1.232, allocations: 70.95 kB / 1.385 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.232, allocations: 4 kB / 1.385 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/1.232, allocations: 47.95 kB / 1.385 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/1.232, allocations: 7.562 kB / 1.385 GB, free: 1.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.greThr.greHys.y,greThr.greHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.047e-05/1.232, allocations: 110 kB / 1.385 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.232, allocations: 23.72 kB / 1.385 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/1.232, allocations: 22.48 kB / 1.385 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/1.232, allocations: 4 kB / 1.385 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.232, allocations: 7.953 kB / 1.385 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.232, allocations: 0 / 1.385 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/1.233, allocations: 270.6 kB / 1.386 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.233, allocations: 4 kB / 1.386 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/1.233, allocations: 59.89 kB / 1.386 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.233, allocations: 7.984 kB / 1.386 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/1.233, allocations: 3.625 kB / 1.386 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/1.233, allocations: 4 kB / 1.386 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.233, allocations: 0 / 1.386 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/1.233, allocations: 0.5582 MB / 1.386 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/1.233, allocations: 95.83 kB / 1.386 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/1.234, allocations: 4 kB / 1.386 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/1.234, allocations: 57.45 kB / 1.386 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/1.234, allocations: 19.16 kB / 1.386 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/1.234, allocations: 11.12 kB / 1.386 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001253/1.234, allocations: 153.4 kB / 1.387 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.234, allocations: 7.938 kB / 1.387 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000385/1.235, allocations: 39.03 kB / 1.387 GB, free: 15.79 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (greThr.greHys.y) * Number of discrete states: 1 (greThr.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007739/1.235, allocations: 1.377 MB / 1.388 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002227/1.236, allocations: 88.86 kB / 1.388 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.236, allocations: 256 / 1.388 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/1.236, allocations: 60.44 kB / 1.388 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/1.236, allocations: 64.7 kB / 1.388 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008248/1.237, allocations: 299.4 kB / 1.388 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/1.237, allocations: 0.7478 MB / 1.389 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001057/1.238, allocations: 17.38 kB / 1.389 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/1.238, allocations: 63.94 kB / 1.389 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of SimCode: time 2.264e-06/1.238, allocations: 4 kB / 1.389 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/1.253, allocations: 4.431 MB / 1.394 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/1.253, allocations: 216.4 kB / 1.394 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/3.004, allocations: 2.062 kB / 1.394 GB, free: 8.711 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_FreezeProtection_Disable_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_FreezeProtection_Disable.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable_res.mat does not exist to compare? outputFormat=mat