Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.845/1.845, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009073/0.0009074, allocations: 179.4 kB / 393.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007759/0.000776, allocations: 96.45 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 12 kB / 0.9224 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5398, allocations: 121.3 MB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.001935/0.5418, allocations: 1.664 MB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00295/0.5448, allocations: 2.918 MB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.545, allocations: 2.406 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.5467, allocations: 483.6 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.5469, allocations: 57.42 kB / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008841/0.5478, allocations: 208.5 kB / 1.046 GB, free: 54.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000425/0.5482, allocations: 293.5 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.5484, allocations: 94.11 kB / 1.046 GB, free: 54.6 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.5485, allocations: 102.6 kB / 1.047 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.5487, allocations: 127.5 kB / 1.047 GB, free: 54.51 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.5488, allocations: 2.469 kB / 1.047 GB, free: 54.51 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.5492, allocations: 292 kB / 1.047 GB, free: 54.43 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.5494, allocations: 89.41 kB / 1.047 GB, free: 54.4 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.5495, allocations: 220.5 kB / 1.047 GB, free: 54.24 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007593/0.5503, allocations: 0.749 MB / 1.048 GB, free: 54.04 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5503, allocations: 8 kB / 1.048 GB, free: 54.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.265e-06/0.5503, allocations: 0 / 1.048 GB, free: 54.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.5503, allocations: 0 / 1.048 GB, free: 54.03 MB / 0.698 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.0008624/0.5512, allocations: 0.7663 MB / 1.049 GB, free: 53.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5513, allocations: 8.781 kB / 1.049 GB, free: 53.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.5513, allocations: 62.64 kB / 1.049 GB, free: 53.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.5517, allocations: 361.9 kB / 1.049 GB, free: 53.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.5517, allocations: 3.406 kB / 1.049 GB, free: 53.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.5517, allocations: 20.38 kB / 1.049 GB, free: 53.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.552, allocations: 128 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.552, allocations: 0 / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.552, allocations: 5.688 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.552, allocations: 2.406 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.5522, allocations: 95.67 kB / 1.049 GB, free: 52.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000704/0.5529, allocations: 0.543 MB / 1.05 GB, free: 52.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.5531, allocations: 110.7 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.938e-05/0.5532, allocations: 63.66 kB / 1.05 GB, free: 52.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.5532, allocations: 7.094 kB / 1.05 GB, free: 52.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.5535, allocations: 140.7 kB / 1.05 GB, free: 52.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.5535, allocations: 1.688 kB / 1.05 GB, free: 52.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004428/0.5539, allocations: 301.5 kB / 1.051 GB, free: 52.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.554, allocations: 84.33 kB / 1.051 GB, free: 52.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/0.5548, allocations: 0.7557 MB / 1.051 GB, free: 51.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.5548, allocations: 28.17 kB / 1.051 GB, free: 51.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.555, allocations: 278.2 kB / 1.052 GB, free: 51.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.555, allocations: 18.17 kB / 1.052 GB, free: 51.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/0.555, allocations: 9.969 kB / 1.052 GB, free: 51.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.5551, allocations: 311.5 kB / 1.052 GB, free: 51.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.5552, allocations: 51.52 kB / 1.052 GB, free: 51.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.5552, allocations: 46.05 kB / 1.052 GB, free: 51.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.5554, allocations: 151.2 kB / 1.052 GB, free: 51.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5554, allocations: 6 kB / 1.052 GB, free: 51.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002744/0.5557, allocations: 259.5 kB / 1.052 GB, free: 51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.5557, allocations: 35.8 kB / 1.052 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5557, allocations: 2.469 kB / 1.052 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5557, allocations: 0 / 1.052 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.5558, allocations: 9.312 kB / 1.052 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5558, allocations: 5.547 kB / 1.052 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.556, allocations: 15.59 kB / 1.053 GB, free: 50.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.556, allocations: 13.45 kB / 1.053 GB, free: 50.94 MB / 0.698 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,greaterThreshold.y,booleanToInteger.y) * 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.0002848/0.5563, allocations: 345.8 kB / 1.053 GB, free: 50.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.5563, allocations: 62.31 kB / 1.053 GB, free: 50.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.5567, allocations: 285.5 kB / 1.053 GB, free: 50.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5567, allocations: 0 / 1.053 GB, free: 50.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5567, allocations: 0 / 1.053 GB, free: 50.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5568, allocations: 0 / 1.053 GB, free: 50.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.557, allocations: 373.8 kB / 1.054 GB, free: 50.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5571, allocations: 2.688 kB / 1.054 GB, free: 50.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.5571, allocations: 9.531 kB / 1.054 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5571, allocations: 2.938 kB / 1.054 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5571, allocations: 9.062 kB / 1.054 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5571, allocations: 0 / 1.054 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5571, allocations: 0 / 1.054 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.5575, allocations: 313.5 kB / 1.054 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5576, allocations: 146.9 kB / 1.054 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.5576, allocations: 3.219 kB / 1.054 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.5577, allocations: 6.219 kB / 1.054 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.5578, allocations: 8.844 kB / 1.054 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.5578, allocations: 6.734 kB / 1.054 GB, free: 49.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005439/0.5584, allocations: 0.5576 MB / 1.055 GB, free: 49.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5584, allocations: 0 / 1.055 GB, free: 49.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004549/0.5588, allocations: 120.2 kB / 1.055 GB, free: 49.75 MB / 0.698 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.0003816/0.5592, allocations: 206.4 kB / 1.055 GB, free: 49.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.5595, allocations: 198.6 kB / 1.055 GB, free: 49.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5595, allocations: 3.938 kB / 1.055 GB, free: 49.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.5596, allocations: 151.8 kB / 1.055 GB, free: 49.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.5602, allocations: 109.7 kB / 1.055 GB, free: 49.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.5615, allocations: 1.146 MB / 1.056 GB, free: 48.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.5619, allocations: 0.9666 MB / 1.057 GB, free: 48.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.889e-05/0.562, allocations: 26.27 kB / 1.057 GB, free: 48.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.562, allocations: 16.41 kB / 1.057 GB, free: 48.01 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.562, allocations: 0 / 1.057 GB, free: 48.01 MB / 0.698 GB Notification: Performance of Templates: time 0.009182/0.5712, allocations: 4.95 MB / 1.062 GB, free: 47.7 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)