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.001061/0.001061, allocations: 92.08 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.426 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.427/2.427, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6743, allocations: 142.4 MB / 0.9545 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.001815/0.6761, allocations: 1.653 MB / 0.9561 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.6784, allocations: 2.283 MB / 0.9583 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.125e-05/0.6785, allocations: 1.375 kB / 0.9583 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009244/0.6794, allocations: 459.8 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.05e-05/0.6795, allocations: 52.95 kB / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.68, allocations: 210.2 kB / 0.959 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.6803, allocations: 280.4 kB / 0.9593 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.6805, allocations: 76.83 kB / 0.9593 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.6806, allocations: 107.9 kB / 0.9594 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.6807, allocations: 115.9 kB / 0.9595 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.6808, allocations: 4.125 kB / 0.9595 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.6811, allocations: 276.9 kB / 0.9598 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.6812, allocations: 97.8 kB / 0.9599 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.6813, allocations: 128.3 kB / 0.96 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.6818, allocations: 0.588 MB / 0.9606 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.6818, allocations: 0 / 0.9606 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6818, allocations: 0 / 0.9606 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6818, allocations: 1 kB / 0.9606 GB, free: 3.258 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.0007041/0.6825, allocations: 0.764 MB / 0.9613 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.6826, allocations: 8.781 kB / 0.9614 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.6826, allocations: 64.23 kB / 0.9614 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.6829, allocations: 347.9 kB / 0.9617 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.6829, allocations: 7.594 kB / 0.9618 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.683, allocations: 6 kB / 0.9618 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.6832, allocations: 128.9 kB / 0.9619 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.6832, allocations: 0 / 0.9619 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6832, allocations: 1.219 kB / 0.9619 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.6832, allocations: 6.688 kB / 0.9619 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.6834, allocations: 105.6 kB / 0.962 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.684, allocations: 0.5454 MB / 0.9625 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.6841, allocations: 101.8 kB / 0.9626 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/0.6842, allocations: 62 kB / 0.9627 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.6843, allocations: 3.938 kB / 0.9627 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.6844, allocations: 133.8 kB / 0.9628 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.6845, allocations: 3.938 kB / 0.9628 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004074/0.6849, allocations: 303.7 kB / 0.9631 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.6849, allocations: 83.56 kB / 0.9632 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.6856, allocations: 0.7519 MB / 0.9639 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.6856, allocations: 30.86 kB / 0.9639 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.6858, allocations: 275.5 kB / 0.9642 GB, free: 480 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.6859, allocations: 20 kB / 0.9642 GB, free: 464 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/0.6859, allocations: 4.969 kB / 0.9642 GB, free: 460 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.6859, allocations: 320 kB / 0.9645 GB, free: 136 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.686, allocations: 43.55 kB / 0.9646 GB, free: 120 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.6861, allocations: 48 kB / 0.9646 GB, free: 100 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/0.6862, allocations: 70.31 kB / 0.9647 GB, free: 52 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6862, allocations: 1.25 kB / 0.9647 GB, free: 52 kB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003351/0.6865, allocations: 273.6 kB / 0.965 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.6866, allocations: 37.22 kB / 0.965 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6866, allocations: 0 / 0.965 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.6866, allocations: 1.031 kB / 0.965 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.6867, allocations: 10.22 kB / 0.965 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6867, allocations: 0.9688 kB / 0.965 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.6868, allocations: 14.78 kB / 0.965 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.6868, allocations: 12.14 kB / 0.965 GB, free: 15.83 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.6871, allocations: 332.2 kB / 0.9653 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.6872, allocations: 60.75 kB / 0.9654 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.6877, allocations: 297.3 kB / 0.9657 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.6877, allocations: 8.969 kB / 0.9657 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6877, allocations: 0 / 0.9657 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6877, allocations: 0 / 0.9657 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.6881, allocations: 373.9 kB / 0.9661 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6881, allocations: 0 / 0.9661 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.6881, allocations: 9.672 kB / 0.9661 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6881, allocations: 0.9688 kB / 0.9661 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.6882, allocations: 7.188 kB / 0.9661 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6882, allocations: 0 / 0.9661 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6882, allocations: 5.359 kB / 0.9661 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.6885, allocations: 307.8 kB / 0.9664 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.6887, allocations: 141.9 kB / 0.9665 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.6887, allocations: 2.719 kB / 0.9665 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.6888, allocations: 13.02 kB / 0.9665 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.6889, allocations: 6.812 kB / 0.9665 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.6889, allocations: 5.5 kB / 0.9665 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006925/0.6896, allocations: 0.558 MB / 0.9671 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6896, allocations: 3.938 kB / 0.9671 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003911/0.69, allocations: 130 kB / 0.9672 GB, free: 14.35 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 (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.000349/0.6904, allocations: 193 kB / 0.9674 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002747/0.6907, allocations: 203.7 kB / 0.9676 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6907, allocations: 0 / 0.9676 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.6908, allocations: 148.2 kB / 0.9677 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.6913, allocations: 104.3 kB / 0.9678 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.6928, allocations: 1.099 MB / 0.9689 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/0.6934, allocations: 0.9572 MB / 0.9698 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.16e-05/0.6935, allocations: 19.7 kB / 0.9699 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.6935, allocations: 15.38 kB / 0.9699 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.575e-06/0.6935, allocations: 0 / 0.9699 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.009569/0.7031, allocations: 4.85 MB / 0.9746 GB, free: 10.04 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