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.002026/0.002026, allocations: 104.9 kB / 16.4 MB, free: 5.977 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.002102/0.002102, allocations: 188.8 kB / 17.34 MB, free: 5.586 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.295/2.295, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 63.91 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9254/0.927, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003303/0.9304, allocations: 1.981 MB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003203/0.9336, allocations: 2.504 MB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.9337, allocations: 9.594 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.935, allocations: 472.3 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.9351, allocations: 72.14 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.9362, allocations: 266.3 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.9367, allocations: 311.4 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.9369, allocations: 96.61 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.937, allocations: 99.97 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.9373, allocations: 130 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.9373, allocations: 7.812 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.9379, allocations: 327.8 kB / 1.095 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.9381, allocations: 96.7 kB / 1.095 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.9383, allocations: 200.8 kB / 1.095 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.9394, allocations: 0.78 MB / 1.096 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9394, allocations: 1.062 kB / 1.096 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.013e-06/0.9394, allocations: 0 / 1.096 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.9394, allocations: 0 / 1.096 GB, free: 1.227 MB / 0.8575 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.001021/0.9404, allocations: 0.8346 MB / 1.097 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.9405, allocations: 13 kB / 1.097 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.879e-05/0.9406, allocations: 62.56 kB / 1.097 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.9411, allocations: 375.5 kB / 1.097 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.9411, allocations: 3.594 kB / 1.097 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.9411, allocations: 13.38 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.9414, allocations: 125.1 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.9414, allocations: 0 / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.9414, allocations: 5.844 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.9414, allocations: 1.156 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.9416, allocations: 94.22 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.9425, allocations: 0.5356 MB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.9428, allocations: 115 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.9429, allocations: 60.16 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.86e-05/0.9429, allocations: 6.406 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.9432, allocations: 140.8 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.9432, allocations: 0 / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0005542/0.9437, allocations: 304.2 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.9438, allocations: 80.41 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.9449, allocations: 0.7621 MB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.9449, allocations: 31.09 kB / 1.099 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.9452, allocations: 278.8 kB / 1.1 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.9452, allocations: 21.59 kB / 1.1 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.9453, allocations: 34.98 kB / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9454, allocations: 308.8 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.9455, allocations: 46.47 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.9456, allocations: 47.02 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.9458, allocations: 158.1 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9458, allocations: 1.062 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000369/0.9462, allocations: 266.5 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.9462, allocations: 36.5 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9462, allocations: 0 / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.9463, allocations: 5 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.9463, allocations: 7.531 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.9463, allocations: 2.141 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.9465, allocations: 25.47 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.9465, allocations: 4.516 kB / 1.1 GB, free: 14.07 MB / 0.8731 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.0003892/0.9469, allocations: 335.7 kB / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.947, allocations: 65.17 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.9475, allocations: 291.5 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.9475, allocations: 5.906 kB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.9475, allocations: 0 / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.9475, allocations: 0.7031 kB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.948, allocations: 374.5 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.948, allocations: 0.5 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.9481, allocations: 7.016 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.9481, allocations: 0.625 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.9481, allocations: 7.469 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9481, allocations: 1.609 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9481, allocations: 0 / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.9486, allocations: 321.3 kB / 1.102 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.9487, allocations: 138.5 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.9488, allocations: 4.031 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.9489, allocations: 8.594 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.949, allocations: 6 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.949, allocations: 5.172 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008413/0.9498, allocations: 0.5631 MB / 1.102 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9498, allocations: 4.438 kB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006054/0.9504, allocations: 129.5 kB / 1.103 GB, free: 12.86 MB / 0.8731 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.0003775/0.9508, allocations: 192.4 kB / 1.103 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.9512, allocations: 208.7 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9512, allocations: 3.938 kB / 1.103 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.9513, allocations: 143.1 kB / 1.103 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.9518, allocations: 107.6 kB / 1.103 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.9534, allocations: 1.07 MB / 1.104 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.954, allocations: 0.9627 MB / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.9541, allocations: 19.28 kB / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.9541, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.01257/0.9666, allocations: 6.304 MB / 1.111 GB, free: 10.45 MB / 0.8731 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