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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 196.1 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7527, allocations: 140.4 MB / 0.9496 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003038/0.7558, allocations: 2.028 MB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00277/0.7586, allocations: 2.528 MB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.7587, allocations: 6.781 kB / 0.9541 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.7599, allocations: 480 kB / 0.9545 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.76, allocations: 58.58 kB / 0.9546 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.7607, allocations: 205.5 kB / 0.9548 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000331/0.761, allocations: 294.5 kB / 0.9551 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.7612, allocations: 94.64 kB / 0.9551 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.7613, allocations: 101.3 kB / 0.9552 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.7615, allocations: 136 kB / 0.9554 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.7615, allocations: 4.625 kB / 0.9554 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.762, allocations: 308.4 kB / 0.9557 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.7621, allocations: 98.92 kB / 0.9558 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.7622, allocations: 198.2 kB / 0.9559 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.7627, allocations: 0.5947 MB / 0.9565 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.7627, allocations: 0 / 0.9565 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7627, allocations: 1.156 kB / 0.9565 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7627, allocations: 0 / 0.9565 GB, free: 4.148 MB / 0.7169 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.0008852/0.7636, allocations: 0.8424 MB / 0.9574 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.7637, allocations: 9.469 kB / 0.9574 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.7638, allocations: 60.34 kB / 0.9574 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.7641, allocations: 357.7 kB / 0.9578 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.7641, allocations: 7.438 kB / 0.9578 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.7641, allocations: 15.06 kB / 0.9578 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.7643, allocations: 122.3 kB / 0.9579 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.7643, allocations: 5.234 kB / 0.9579 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.7644, allocations: 1.719 kB / 0.9579 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.7644, allocations: 5.375 kB / 0.9579 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.7645, allocations: 104.2 kB / 0.958 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.7652, allocations: 0.543 MB / 0.9585 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.7654, allocations: 106.9 kB / 0.9586 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/0.7654, allocations: 65.94 kB / 0.9587 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.7655, allocations: 8.062 kB / 0.9587 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.7657, allocations: 129.7 kB / 0.9588 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 2.134e-06/0.7657, allocations: 96 / 0.9588 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004632/0.7662, allocations: 304.8 kB / 0.9591 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.7663, allocations: 80.33 kB / 0.9592 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008132/0.7671, allocations: 0.7645 MB / 0.96 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.7671, allocations: 30.42 kB / 0.96 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.7673, allocations: 276.3 kB / 0.9602 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.7673, allocations: 20.31 kB / 0.9603 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.7674, allocations: 36.39 kB / 0.9603 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.7674, allocations: 306.9 kB / 0.9606 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.7675, allocations: 51.81 kB / 0.9606 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.577e-05/0.7676, allocations: 48.66 kB / 0.9607 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.7678, allocations: 160.4 kB / 0.9608 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7678, allocations: 7.938 kB / 0.9608 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003075/0.7681, allocations: 263.4 kB / 0.9611 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.7681, allocations: 37.09 kB / 0.9611 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7681, allocations: 0 / 0.9611 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7682, allocations: 1.281 kB / 0.9611 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.7683, allocations: 6.781 kB / 0.9611 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7683, allocations: 0 / 0.9611 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.7684, allocations: 13.86 kB / 0.9612 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.7684, allocations: 8.25 kB / 0.9612 GB, free: 0.5703 MB / 0.7169 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 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.7687, allocations: 343.6 kB / 0.9615 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.7688, allocations: 68.41 kB / 0.9616 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.7692, allocations: 290.5 kB / 0.9618 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.7692, allocations: 1.094 kB / 0.9618 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7692, allocations: 0 / 0.9618 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7692, allocations: 0.9062 kB / 0.9618 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.7696, allocations: 369.1 kB / 0.9622 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7696, allocations: 0 / 0.9622 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.7697, allocations: 5.75 kB / 0.9622 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7697, allocations: 1.188 kB / 0.9622 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.7697, allocations: 15.25 kB / 0.9622 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7697, allocations: 0 / 0.9622 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.7697, allocations: 1.031 kB / 0.9622 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.7701, allocations: 312.6 kB / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.7702, allocations: 141.1 kB / 0.9626 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.7703, allocations: 7.516 kB / 0.9626 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.7704, allocations: 4.125 kB / 0.9627 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.7705, allocations: 14.53 kB / 0.9627 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.7705, allocations: 7.812 kB / 0.9627 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006744/0.7712, allocations: 0.5652 MB / 0.9632 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7712, allocations: 0 / 0.9632 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000487/0.7717, allocations: 117.2 kB / 0.9633 GB, free: 15.09 MB / 0.7325 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,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004048/0.7721, allocations: 193.2 kB / 0.9635 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.7724, allocations: 204.7 kB / 0.9637 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7724, allocations: 0 / 0.9637 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.7726, allocations: 153.4 kB / 0.9639 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.7732, allocations: 102.8 kB / 0.964 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.7749, allocations: 1.193 MB / 0.9651 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.7755, allocations: 0.9579 MB / 0.9661 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.7756, allocations: 14.53 kB / 0.9661 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.7756, allocations: 0 / 0.9661 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of Templates: time 0.01196/0.7875, allocations: 6.295 MB / 0.9722 GB, free: 9.816 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches