Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.397/2.397, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001383/0.001382, allocations: 181.4 kB / 492.3 MB, free: 0.6289 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.716/1.716, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.000918/0.0009181, allocations: 95.89 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.078e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3283, allocations: 142.3 MB / 1.213 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.262/1.59, allocations: 154.6 MB / 1.363 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.591, allocations: 99.23 kB / 1.364 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02315/1.614, allocations: 8.832 MB / 1.372 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.236e-06/1.614, allocations: 4 kB / 1.372 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.254e-05/1.614, allocations: 7.812 kB / 1.372 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001218/1.615, allocations: 0.6759 MB / 1.373 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/1.615, allocations: 7.719 kB / 1.373 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.47e-05/1.616, allocations: 63.75 kB / 1.373 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/1.616, allocations: 61.67 kB / 1.373 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007551/1.616, allocations: 463.6 kB / 1.373 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/1.616, allocations: 26.91 kB / 1.373 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/1.617, allocations: 27.72 kB / 1.373 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006835/1.617, allocations: 389.1 kB / 1.374 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/1.617, allocations: 448 / 1.374 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/1.617, allocations: 13.09 kB / 1.374 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/1.617, allocations: 11.61 kB / 1.374 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/1.618, allocations: 236 kB / 1.374 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/1.62, allocations: 1.567 MB / 1.376 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/1.62, allocations: 272.2 kB / 1.376 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/1.62, allocations: 118.2 kB / 1.376 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/1.62, allocations: 3.625 kB / 1.376 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/1.62, allocations: 38.34 kB / 1.376 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/1.62, allocations: 0 / 1.376 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004702/1.621, allocations: 266.9 kB / 1.376 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/1.621, allocations: 158.1 kB / 1.376 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/1.621, allocations: 374.2 kB / 1.377 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/1.621, allocations: 28.52 kB / 1.377 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/1.622, allocations: 256.1 kB / 1.377 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/1.622, allocations: 79.5 kB / 1.377 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/1.622, allocations: 3.938 kB / 1.377 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.622, allocations: 356.2 kB / 1.377 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/1.622, allocations: 87.98 kB / 1.378 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/1.622, allocations: 175.4 kB / 1.378 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/1.622, allocations: 102.8 kB / 1.378 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.622, allocations: 3.875 kB / 1.378 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004327/1.623, allocations: 317.5 kB / 1.378 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.623, allocations: 7.797 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.623, allocations: 4.031 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.623, allocations: 4 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/1.623, allocations: 70.62 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.623, allocations: 3.969 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/1.624, allocations: 54.11 kB / 1.378 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/1.624, allocations: 14.31 kB / 1.378 GB, free: 31.05 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001115/1.624, allocations: 123 kB / 1.378 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/1.624, allocations: 46.62 kB / 1.378 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/1.624, allocations: 50.72 kB / 1.379 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.624, allocations: 3.875 kB / 1.379 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.624, allocations: 0 / 1.379 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/1.624, allocations: 2.531 kB / 1.379 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/1.624, allocations: 485 kB / 1.379 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.624, allocations: 0 / 1.379 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/1.625, allocations: 64.95 kB / 1.379 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.625, allocations: 0 / 1.379 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/1.625, allocations: 3.812 kB / 1.379 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.625, allocations: 7.734 kB / 1.379 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.625, allocations: 2.156 kB / 1.379 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/1.625, allocations: 498.7 kB / 1.38 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/1.626, allocations: 151.6 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/1.626, allocations: 7.438 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/1.626, allocations: 32.58 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/1.626, allocations: 22.41 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/1.626, allocations: 9.547 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002952/1.626, allocations: 290.3 kB / 1.38 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.626, allocations: 0 / 1.38 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003212/1.627, allocations: 87.47 kB / 1.38 GB, free: 30.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0008804/1.627, allocations: 1.042 MB / 1.381 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003728/1.628, allocations: 232.3 kB / 1.381 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.628, allocations: 3.812 kB / 1.381 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/1.628, allocations: 112.8 kB / 1.381 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/1.629, allocations: 121 kB / 1.382 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/1.63, allocations: 0.5816 MB / 1.382 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/1.63, allocations: 0.8323 MB / 1.383 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002174/1.631, allocations: 52.83 kB / 1.383 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/1.631, allocations: 163.2 kB / 1.383 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/1.631, allocations: 0 / 1.383 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/1.651, allocations: 8.438 MB / 1.391 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/1.651, allocations: 184.7 kB / 1.392 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/4.168, allocations: 3.938 kB / 1.392 GB, free: 24.93 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat does not exist to compare? outputFormat=mat