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.476/2.476, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001623/0.001623, 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.985/1.985, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 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.001548/0.001548, allocations: 99.47 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.145e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3725, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.569, allocations: 153.9 MB / 1.356 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/1.569, allocations: 96.03 kB / 1.356 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02287/1.592, allocations: 8.761 MB / 1.365 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.234e-06/1.592, allocations: 0.75 kB / 1.365 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.843e-05/1.592, allocations: 11.53 kB / 1.365 GB, free: 33.68 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.001176/1.593, allocations: 0.6684 MB / 1.366 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/1.593, allocations: 12.19 kB / 1.366 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/1.593, allocations: 58.55 kB / 1.366 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/1.594, allocations: 476.9 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/1.594, allocations: 11.59 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/1.594, allocations: 14.81 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004287/1.595, allocations: 217.5 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/1.595, allocations: 347.2 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.595, allocations: 0 / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/1.595, allocations: 3.953 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/1.595, allocations: 7.625 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/1.597, allocations: 1.5 MB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/1.598, allocations: 258.6 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/1.598, allocations: 117.7 kB / 1.369 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/1.598, allocations: 0 / 1.369 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.598, allocations: 42.08 kB / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 2.404e-06/1.598, allocations: 4 kB / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004642/1.599, allocations: 243 kB / 1.369 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/1.599, allocations: 160.6 kB / 1.369 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/1.599, allocations: 344 kB / 1.369 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/1.599, allocations: 25.7 kB / 1.369 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/1.599, allocations: 256.8 kB / 1.37 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/1.599, allocations: 73.95 kB / 1.37 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/1.599, allocations: 0 / 1.37 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.6, allocations: 353.8 kB / 1.37 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/1.6, allocations: 82 kB / 1.37 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/1.6, allocations: 170.7 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/1.6, allocations: 96.42 kB / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.6, allocations: 0 / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004414/1.6, allocations: 282.6 kB / 1.371 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.601, allocations: 12.22 kB / 1.371 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.601, allocations: 0 / 1.371 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.601, allocations: 12.08 kB / 1.371 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/1.601, allocations: 72.78 kB / 1.371 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.601, allocations: 3.844 kB / 1.371 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/1.601, allocations: 40.95 kB / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/1.601, allocations: 13.52 kB / 1.371 GB, free: 30.79 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.0001424/1.601, allocations: 113.9 kB / 1.371 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003679/1.602, allocations: 250.8 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/1.602, allocations: 46.61 kB / 1.371 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/1.602, allocations: 49.69 kB / 1.371 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.602, allocations: 0 / 1.371 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.602, allocations: 3.938 kB / 1.371 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/1.602, allocations: 6.844 kB / 1.371 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/1.602, allocations: 429.8 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.602, allocations: 0 / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/1.603, allocations: 62.27 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.603, allocations: 0 / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/1.603, allocations: 0 / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.603, allocations: 10.73 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.603, allocations: 3.938 kB / 1.372 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/1.603, allocations: 481.1 kB / 1.372 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/1.604, allocations: 150.6 kB / 1.372 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/1.604, allocations: 0 / 1.372 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/1.604, allocations: 30.55 kB / 1.372 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/1.604, allocations: 24.09 kB / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/1.604, allocations: 6.719 kB / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003266/1.604, allocations: 268.6 kB / 1.373 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.604, allocations: 0 / 1.373 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003652/1.605, allocations: 73.56 kB / 1.373 GB, free: 30 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.0009138/1.606, allocations: 1.017 MB / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003637/1.606, allocations: 223 kB / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.606, allocations: 0 / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/1.606, allocations: 113.1 kB / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/1.607, allocations: 111.9 kB / 1.374 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/1.608, allocations: 0.5682 MB / 1.375 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/1.609, allocations: 0.8307 MB / 1.376 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002659/1.609, allocations: 50.3 kB / 1.376 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/1.609, allocations: 159.2 kB / 1.376 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/1.609, allocations: 7.812 kB / 1.376 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/1.645, allocations: 7.64 MB / 1.383 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/1.645, allocations: 189.2 kB / 1.383 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.974, allocations: 0 / 1.383 GB, free: 26.12 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