Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.358/2.358, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001073/0.001073, allocations: 172.8 kB / 496.1 MB, free: 12.87 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.796/1.796, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.00105/0.00105, allocations: 91.95 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.084e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.412, allocations: 157 MB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/1.412, allocations: 95.61 kB / 1.372 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03306/1.445, allocations: 13.12 MB / 1.385 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.262e-06/1.445, allocations: 0 / 1.385 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.198e-05/1.445, allocations: 8 kB / 1.385 GB, free: 1.684 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.0008352/1.446, allocations: 0.6996 MB / 1.386 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.446, allocations: 12.03 kB / 1.386 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.554e-05/1.446, allocations: 49.12 kB / 1.386 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.384e-05/1.446, allocations: 63.2 kB / 1.386 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/1.447, allocations: 335.7 kB / 1.386 GB, free: 484 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/1.447, allocations: 10.84 kB / 1.386 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/1.447, allocations: 11.81 kB / 1.386 GB, free: 468 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/1.447, allocations: 132.6 kB / 1.386 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.447, allocations: 0 / 1.386 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/1.447, allocations: 3.25 kB / 1.386 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.447, allocations: 4 kB / 1.386 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/1.447, allocations: 104.1 kB / 1.386 GB, free: 268 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/1.448, allocations: 0.5571 MB / 1.387 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/1.448, allocations: 117 kB / 1.387 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.751e-05/1.448, allocations: 69.42 kB / 1.387 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/1.448, allocations: 8.078 kB / 1.387 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/1.448, allocations: 139.1 kB / 1.387 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/1.448, allocations: 0 / 1.387 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0004553/1.449, allocations: 277.1 kB / 1.388 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/1.449, allocations: 85.05 kB / 1.388 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/1.45, allocations: 0.6717 MB / 1.388 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/1.45, allocations: 29.2 kB / 1.388 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/1.45, allocations: 272.5 kB / 1.389 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/1.45, allocations: 19.22 kB / 1.389 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/1.45, allocations: 7.438 kB / 1.389 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.45, allocations: 313.9 kB / 1.389 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/1.45, allocations: 56.66 kB / 1.389 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/1.45, allocations: 54.16 kB / 1.389 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.595e-05/1.451, allocations: 84.03 kB / 1.389 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.451, allocations: 4 kB / 1.389 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000354/1.451, allocations: 276.5 kB / 1.389 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/1.451, allocations: 41.5 kB / 1.389 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.451, allocations: 0 / 1.389 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.451, allocations: 0 / 1.389 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/1.451, allocations: 8 kB / 1.389 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.451, allocations: 0 / 1.389 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/1.451, allocations: 19.98 kB / 1.389 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/1.451, allocations: 4 kB / 1.389 GB, free: 13.57 MB / 0.8542 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 0.0001172/1.451, allocations: 159.2 kB / 1.39 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/1.451, allocations: 67.14 kB / 1.39 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/1.452, allocations: 318.2 kB / 1.39 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.452, allocations: 0 / 1.39 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.452, allocations: 0 / 1.39 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.452, allocations: 0 / 1.39 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/1.452, allocations: 373.5 kB / 1.39 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.452, allocations: 0 / 1.39 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/1.452, allocations: 7.984 kB / 1.39 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/1.452, allocations: 11.95 kB / 1.39 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/1.452, allocations: 4 kB / 1.39 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/1.452, allocations: 3.938 kB / 1.39 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.453, allocations: 0 / 1.39 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/1.453, allocations: 335.8 kB / 1.391 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/1.453, allocations: 143 kB / 1.391 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/1.453, allocations: 7.953 kB / 1.391 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.453, allocations: 7.984 kB / 1.391 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/1.453, allocations: 11.38 kB / 1.391 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/1.453, allocations: 7.938 kB / 1.391 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005918/1.454, allocations: 0.5562 MB / 1.391 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.71e-07/1.454, allocations: 0 / 1.391 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005697/1.455, allocations: 145.9 kB / 1.391 GB, free: 11.64 MB / 0.8542 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.001196/1.456, allocations: 1.096 MB / 1.393 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002716/1.456, allocations: 199.9 kB / 1.393 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.456, allocations: 0 / 1.393 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/1.456, allocations: 150.4 kB / 1.393 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/1.457, allocations: 96.47 kB / 1.393 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/1.458, allocations: 1.01 MB / 1.394 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/1.459, allocations: 0.9849 MB / 1.395 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.135e-05/1.459, allocations: 13.56 kB / 1.395 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/1.459, allocations: 154.3 kB / 1.395 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of SimCode: time 3.51e-07/1.459, allocations: 0 / 1.395 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/1.487, allocations: 12.62 MB / 1.407 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/1.487, allocations: 185.2 kB / 1.408 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/3.758, allocations: 0 / 1.408 GB, free: 11.71 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat does not exist to compare? outputFormat=mat