Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.239/2.239, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001271/0.001271, allocations: 168.9 kB / 496.1 MB, free: 12.88 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.761/1.761, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009979/0.0009981, allocations: 95.72 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.045e-05/4.078e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4357, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.625, allocations: 155.4 MB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.626, allocations: 101.3 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02486/1.651, allocations: 8.829 MB / 1.379 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.244e-06/1.651, allocations: 0 / 1.379 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.254e-05/1.651, allocations: 11.98 kB / 1.379 GB, free: 7.246 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.001188/1.652, allocations: 0.6722 MB / 1.38 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/1.652, allocations: 12.03 kB / 1.38 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/1.652, allocations: 65.09 kB / 1.38 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/1.652, allocations: 59.34 kB / 1.38 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/1.653, allocations: 468 kB / 1.381 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/1.653, allocations: 22.78 kB / 1.381 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/1.653, allocations: 30.06 kB / 1.381 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/1.654, allocations: 388.5 kB / 1.381 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.654, allocations: 0 / 1.381 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/1.654, allocations: 20.27 kB / 1.381 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/1.654, allocations: 11.94 kB / 1.381 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/1.654, allocations: 231.5 kB / 1.381 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/1.657, allocations: 1.564 MB / 1.383 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/1.657, allocations: 271.4 kB / 1.383 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/1.657, allocations: 110.2 kB / 1.383 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.617e-05/1.657, allocations: 4 kB / 1.383 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/1.657, allocations: 48.67 kB / 1.383 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/1.657, allocations: 0 / 1.383 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0005402/1.658, allocations: 259.4 kB / 1.383 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.658, allocations: 158.2 kB / 1.384 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/1.659, allocations: 372.6 kB / 1.384 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/1.659, allocations: 33.45 kB / 1.384 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/1.659, allocations: 246.6 kB / 1.384 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/1.659, allocations: 87.83 kB / 1.384 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/1.659, allocations: 3.25 kB / 1.384 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.659, allocations: 348.1 kB / 1.385 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/1.659, allocations: 87.81 kB / 1.385 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/1.66, allocations: 181.6 kB / 1.385 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/1.66, allocations: 111.4 kB / 1.385 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.66, allocations: 0 / 1.385 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005054/1.66, allocations: 322.1 kB / 1.385 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.66, allocations: 4 kB / 1.385 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.66, allocations: 4 kB / 1.385 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.66, allocations: 4.031 kB / 1.385 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/1.661, allocations: 71.89 kB / 1.385 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.661, allocations: 0 / 1.385 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/1.661, allocations: 61.66 kB / 1.385 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/1.661, allocations: 8 kB / 1.385 GB, free: 1.949 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.0001384/1.661, allocations: 123.6 kB / 1.386 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.132e-05/1.661, allocations: 51.39 kB / 1.386 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/1.661, allocations: 50.47 kB / 1.386 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.661, allocations: 4 kB / 1.386 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.661, allocations: 0 / 1.386 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.661, allocations: 4 kB / 1.386 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/1.662, allocations: 476.5 kB / 1.386 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.662, allocations: 3.938 kB / 1.386 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/1.662, allocations: 59.91 kB / 1.386 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/1.662, allocations: 3.984 kB / 1.386 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/1.662, allocations: 15.2 kB / 1.386 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.662, allocations: 0 / 1.386 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.662, allocations: 0 / 1.386 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/1.663, allocations: 0.4911 MB / 1.387 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/1.663, allocations: 154 kB / 1.387 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/1.663, allocations: 7.875 kB / 1.387 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/1.664, allocations: 35.98 kB / 1.387 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/1.664, allocations: 15.86 kB / 1.387 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/1.664, allocations: 7.984 kB / 1.387 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003647/1.664, allocations: 296 kB / 1.387 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.664, allocations: 0 / 1.387 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003455/1.664, allocations: 83.25 kB / 1.387 GB, free: 424 kB / 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.00102/1.665, allocations: 1.042 MB / 1.388 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004261/1.666, allocations: 225.5 kB / 1.388 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.666, allocations: 0 / 1.388 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/1.666, allocations: 112.4 kB / 1.389 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/1.667, allocations: 112.8 kB / 1.389 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/1.668, allocations: 0.6004 MB / 1.389 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/1.669, allocations: 0.8307 MB / 1.39 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00024/1.669, allocations: 55.25 kB / 1.39 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/1.669, allocations: 154.7 kB / 1.39 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/1.669, allocations: 0 / 1.39 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/1.692, allocations: 8.447 MB / 1.399 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.692, allocations: 195 kB / 1.399 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/3.991, allocations: 0 / 1.399 GB, free: 5.289 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat does not exist to compare? outputFormat=mat