Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.01144/0.01144, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.049/3.049, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.000417, allocations: 12.81 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3619, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002595/0.3645, allocations: 1.758 MB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003502/0.368, allocations: 2.581 MB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.3682, allocations: 0 / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.3695, allocations: 0.506 MB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.3696, allocations: 67.64 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.3703, allocations: 206.9 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.3707, allocations: 322.3 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.3709, allocations: 89.06 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.371, allocations: 95.47 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3712, allocations: 135.2 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.3712, allocations: 4 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.3717, allocations: 299.6 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.3719, allocations: 111.5 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.3721, allocations: 224.2 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007686/0.3728, allocations: 0.7864 MB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3729, allocations: 4 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3729, allocations: 0 / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3729, allocations: 4 kB / 1.066 GB, free: 14.26 MB / 0.8262 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.0009836/0.3739, allocations: 0.7947 MB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3739, allocations: 12.03 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.843e-05/0.374, allocations: 64.09 kB / 1.067 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.3745, allocations: 392.3 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3745, allocations: 8.375 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3745, allocations: 4.375 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3748, allocations: 136 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3748, allocations: 0 / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3748, allocations: 4 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3748, allocations: 3.984 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.375, allocations: 99.94 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000834/0.3758, allocations: 0.5432 MB / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.376, allocations: 114.5 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.3761, allocations: 60.95 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.3762, allocations: 12.11 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.3765, allocations: 129 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.472e-06/0.3765, allocations: 0 / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005049/0.377, allocations: 310.4 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.3771, allocations: 89.11 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.378, allocations: 0.7896 MB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3781, allocations: 25.7 kB / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.3783, allocations: 292.2 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.3784, allocations: 31.62 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.3784, allocations: 17.72 kB / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3785, allocations: 321.9 kB / 1.07 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.3786, allocations: 39.98 kB / 1.07 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.3787, allocations: 47.97 kB / 1.07 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.3789, allocations: 160.2 kB / 1.07 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3789, allocations: 0 / 1.07 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003216/0.3792, allocations: 270.3 kB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.3793, allocations: 41.69 kB / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3793, allocations: 0 / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3793, allocations: 0 / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.986e-05/0.3794, allocations: 8 kB / 1.07 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3794, allocations: 4.141 kB / 1.07 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.3795, allocations: 15.92 kB / 1.07 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.3795, allocations: 8 kB / 1.07 GB, free: 9.191 MB / 0.8262 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.0003563/0.3799, allocations: 341.7 kB / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.38, allocations: 71.16 kB / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000482/0.3805, allocations: 297 kB / 1.071 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3805, allocations: 0 / 1.071 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3805, allocations: 7.984 kB / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3805, allocations: 0 / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.3809, allocations: 381.3 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3809, allocations: 3.938 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.381, allocations: 8 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.381, allocations: 4 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.381, allocations: 0 / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.381, allocations: 0 / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.381, allocations: 4 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.3814, allocations: 310.3 kB / 1.072 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3816, allocations: 152.2 kB / 1.072 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.3817, allocations: 4 kB / 1.072 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3818, allocations: 8 kB / 1.072 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.3819, allocations: 11.98 kB / 1.072 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3819, allocations: 4 kB / 1.072 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007095/0.3826, allocations: 0.5848 MB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3826, allocations: 0 / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000438/0.383, allocations: 124 kB / 1.073 GB, free: 6.789 MB / 0.8262 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.0003634/0.3834, allocations: 192.8 kB / 1.073 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.3837, allocations: 207.3 kB / 1.073 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3837, allocations: 4 kB / 1.073 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.3839, allocations: 147.3 kB / 1.073 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.3845, allocations: 118.7 kB / 1.073 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3861, allocations: 1.214 MB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.3869, allocations: 0.9786 MB / 1.075 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.387, allocations: 21.95 kB / 1.075 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.387, allocations: 19.44 kB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of SimCode: time 1.503e-06/0.3871, allocations: 0 / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of Templates: time 0.01152/0.3986, allocations: 5.316 MB / 1.081 GB, free: 14.58 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches