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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00106/0.00106, allocations: 108 kB / 15.6 MB, free: 132 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.001188/0.001188, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.2 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6248/0.6261, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003569/0.6297, allocations: 1.975 MB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.6324, allocations: 2.514 MB / 0.954 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.6326, allocations: 2.938 kB / 0.954 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.6337, allocations: 486.1 kB / 0.9544 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.925e-05/0.6338, allocations: 50.78 kB / 0.9545 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.6346, allocations: 277.4 kB / 0.9548 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.635, allocations: 304.2 kB / 0.9551 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.6352, allocations: 92.14 kB / 0.9551 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.6353, allocations: 106.3 kB / 0.9552 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.6355, allocations: 128.5 kB / 0.9554 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.6355, allocations: 7.531 kB / 0.9554 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004285/0.6359, allocations: 321.1 kB / 0.9557 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.798e-05/0.636, allocations: 90.42 kB / 0.9558 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.6362, allocations: 200.8 kB / 0.956 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.6369, allocations: 0.7744 MB / 0.9567 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6369, allocations: 4 kB / 0.9567 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6369, allocations: 4 kB / 0.9567 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.6369, allocations: 1.375 kB / 0.9567 GB, free: 3.879 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.0008521/0.6377, allocations: 0.8307 MB / 0.9575 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6378, allocations: 8.562 kB / 0.9575 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.074e-05/0.6379, allocations: 61.38 kB / 0.9576 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.6382, allocations: 369.2 kB / 0.958 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.6382, allocations: 3.844 kB / 0.958 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.6383, allocations: 14.09 kB / 0.958 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.6385, allocations: 124.6 kB / 0.9581 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.6385, allocations: 4 kB / 0.9581 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.6385, allocations: 4 kB / 0.9581 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6385, allocations: 2.031 kB / 0.9581 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.6387, allocations: 94.97 kB / 0.9582 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.6393, allocations: 0.5427 MB / 0.9587 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.6395, allocations: 114.8 kB / 0.9588 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.6396, allocations: 57.95 kB / 0.9589 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.6396, allocations: 8.109 kB / 0.9589 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.6399, allocations: 128.9 kB / 0.959 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.6399, allocations: 4.906 kB / 0.959 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004944/0.6404, allocations: 300.8 kB / 0.9593 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.6405, allocations: 80.08 kB / 0.9594 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008166/0.6413, allocations: 0.7727 MB / 0.9601 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.6413, allocations: 26.98 kB / 0.9602 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.6415, allocations: 272.5 kB / 0.9604 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.6415, allocations: 19.27 kB / 0.9604 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.6416, allocations: 40.02 kB / 0.9605 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.6416, allocations: 308.2 kB / 0.9608 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.6417, allocations: 51.75 kB / 0.9608 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.6418, allocations: 43.8 kB / 0.9609 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.6419, allocations: 171.9 kB / 0.961 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6419, allocations: 4.688 kB / 0.961 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002854/0.6422, allocations: 262.6 kB / 0.9613 GB, free: 360 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.6422, allocations: 33.36 kB / 0.9613 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6423, allocations: 5.266 kB / 0.9613 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6423, allocations: 0 / 0.9613 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.6424, allocations: 6.812 kB / 0.9613 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.6424, allocations: 1.188 kB / 0.9613 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.6425, allocations: 13.12 kB / 0.9613 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.6425, allocations: 3.781 kB / 0.9613 GB, free: 316 kB / 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.0002669/0.6428, allocations: 340.3 kB / 0.9617 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.6429, allocations: 60.97 kB / 0.9617 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.6434, allocations: 297.4 kB / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6434, allocations: 5.141 kB / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6434, allocations: 0 / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6434, allocations: 1.375 kB / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.6438, allocations: 369.2 kB / 0.9624 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6438, allocations: 0 / 0.9624 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.6439, allocations: 9.438 kB / 0.9624 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6439, allocations: 0.75 kB / 0.9624 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.6439, allocations: 11.02 kB / 0.9624 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6439, allocations: 1.094 kB / 0.9624 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6439, allocations: 0 / 0.9624 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.6443, allocations: 313.6 kB / 0.9627 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.6444, allocations: 137 kB / 0.9628 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.6445, allocations: 2.531 kB / 0.9628 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.6446, allocations: 16.23 kB / 0.9628 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.6446, allocations: 3.062 kB / 0.9628 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.6447, allocations: 4.125 kB / 0.9628 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000653/0.6453, allocations: 0.565 MB / 0.9634 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6453, allocations: 0 / 0.9634 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005158/0.6459, allocations: 125.8 kB / 0.9635 GB, free: 14.84 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.0004138/0.6463, allocations: 185.2 kB / 0.9637 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.6466, allocations: 221.1 kB / 0.9639 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6466, allocations: 0 / 0.9639 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.6468, allocations: 140.5 kB / 0.964 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.6473, allocations: 121.1 kB / 0.9641 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.6489, allocations: 1.029 MB / 0.9652 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.6495, allocations: 0.9731 MB / 0.9661 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.078e-05/0.6496, allocations: 23.17 kB / 0.9661 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.6496, allocations: 18.72 kB / 0.9661 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.6496, allocations: 1.188 kB / 0.9661 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.01053/0.6601, allocations: 5.163 MB / 0.9712 GB, free: 10.41 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/jenkins/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