Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",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.176/2.176, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001069/0.001069, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.558/1.558, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0009444/0.0009444, allocations: 83.91 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.367e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2761, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9229/1.199, allocations: 155.5 MB / 1.358 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.199, allocations: 95.78 kB / 1.358 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03001/1.229, allocations: 12.97 MB / 1.371 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.229, allocations: 0 / 1.371 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.253e-05/1.229, allocations: 7.719 kB / 1.371 GB, free: 32.86 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000796/1.23, allocations: 0.7084 MB / 1.371 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.23, allocations: 11.69 kB / 1.371 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.552e-05/1.23, allocations: 66.03 kB / 1.371 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/1.231, allocations: 350.6 kB / 1.372 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/1.231, allocations: 2.812 kB / 1.372 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/1.231, allocations: 7.656 kB / 1.372 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001576/1.231, allocations: 94.53 kB / 1.372 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/1.231, allocations: 122.2 kB / 1.372 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/1.231, allocations: 0 / 1.372 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/1.231, allocations: 0 / 1.372 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.231, allocations: 7 kB / 1.372 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/1.232, allocations: 0.4996 MB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/1.232, allocations: 116.3 kB / 1.373 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.105e-05/1.232, allocations: 62.05 kB / 1.373 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/1.232, allocations: 14.08 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/1.232, allocations: 140.2 kB / 1.373 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/1.232, allocations: 0 / 1.373 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000428/1.233, allocations: 245.5 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/1.233, allocations: 82.94 kB / 1.373 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/1.233, allocations: 0.6079 MB / 1.374 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/1.233, allocations: 25.7 kB / 1.374 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/1.234, allocations: 284.6 kB / 1.374 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/1.234, allocations: 21.81 kB / 1.374 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/1.234, allocations: 0 / 1.374 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.234, allocations: 377 kB / 1.374 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.438e-05/1.234, allocations: 48.73 kB / 1.374 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-05/1.234, allocations: 49.75 kB / 1.374 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/1.234, allocations: 59.41 kB / 1.375 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.234, allocations: 0 / 1.375 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002933/1.234, allocations: 246 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/1.234, allocations: 39.83 kB / 1.375 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.234, allocations: 3.953 kB / 1.375 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.235, allocations: 0 / 1.375 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/1.235, allocations: 10.67 kB / 1.375 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/1.235, allocations: 0 / 1.375 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/1.235, allocations: 11.5 kB / 1.375 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/1.235, allocations: 7.688 kB / 1.375 GB, free: 30.71 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: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 9.933e-05/1.235, allocations: 146.3 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003121/1.235, allocations: 269.4 kB / 1.375 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/1.235, allocations: 66.2 kB / 1.375 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/1.236, allocations: 270.4 kB / 1.376 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.236, allocations: 0 / 1.376 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.236, allocations: 0 / 1.376 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.236, allocations: 0 / 1.376 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/1.236, allocations: 342.8 kB / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/1.236, allocations: 0 / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/1.236, allocations: 14.42 kB / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.236, allocations: 0 / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/1.236, allocations: 11.73 kB / 1.376 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.236, allocations: 0 / 1.376 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.236, allocations: 0 / 1.376 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/1.236, allocations: 294.9 kB / 1.376 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/1.237, allocations: 145.5 kB / 1.376 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/1.237, allocations: 7.812 kB / 1.376 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/1.237, allocations: 11.92 kB / 1.376 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/1.237, allocations: 10.86 kB / 1.376 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/1.237, allocations: 7.688 kB / 1.376 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004781/1.237, allocations: 0.497 MB / 1.377 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.237, allocations: 0 / 1.377 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005197/1.238, allocations: 143.6 kB / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001083/1.239, allocations: 1.055 MB / 1.378 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002263/1.239, allocations: 193.2 kB / 1.378 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.239, allocations: 4 kB / 1.378 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/1.239, allocations: 145.2 kB / 1.378 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/1.24, allocations: 103.9 kB / 1.378 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/1.241, allocations: 0.9862 MB / 1.379 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/1.242, allocations: 0.9792 MB / 1.38 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.983e-05/1.242, allocations: 19.58 kB / 1.38 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/1.242, allocations: 153.9 kB / 1.381 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.242, allocations: 0 / 1.381 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/1.273, allocations: 10.69 MB / 1.391 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/1.273, allocations: 170.8 kB / 1.391 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.639, allocations: 0 / 1.391 GB, free: 22.88 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat does not exist to compare? outputFormat=mat