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.009327/0.009327, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001563/0.001563, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3503, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003406/0.3537, allocations: 2.047 MB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.3572, allocations: 2.589 MB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3573, allocations: 4 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.3584, allocations: 0.5055 MB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.3586, allocations: 79.47 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007559/0.3593, allocations: 273.2 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.3597, allocations: 330.2 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.3599, allocations: 109 kB / 1.214 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.3601, allocations: 107.5 kB / 1.214 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.3603, allocations: 131.2 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3603, allocations: 8 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/0.3609, allocations: 323.6 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.361, allocations: 99.55 kB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.3612, allocations: 218.4 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000763/0.362, allocations: 0.8138 MB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.362, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/0.362, allocations: 7.938 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.362, allocations: 0 / 1.215 GB, free: 1.973 MB / 0.9669 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.0011/0.3631, allocations: 0.8759 MB / 1.216 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3632, allocations: 12.03 kB / 1.216 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.3632, allocations: 64.09 kB / 1.216 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.3637, allocations: 388.4 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3638, allocations: 4.375 kB / 1.216 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3638, allocations: 12.31 kB / 1.217 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.364, allocations: 137.8 kB / 1.217 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3641, allocations: 0 / 1.217 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3641, allocations: 4 kB / 1.217 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3641, allocations: 4 kB / 1.217 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.3642, allocations: 87.95 kB / 1.217 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.365, allocations: 0.5432 MB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3652, allocations: 102.5 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.3653, allocations: 69 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.3653, allocations: 4.188 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.3655, allocations: 133 kB / 1.218 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.3655, allocations: 4 kB / 1.218 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004964/0.366, allocations: 314.4 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.3661, allocations: 77.11 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008452/0.367, allocations: 0.805 MB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.367, allocations: 29.7 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.3673, allocations: 284.3 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.3673, allocations: 27.66 kB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.3674, allocations: 25.7 kB / 1.219 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3675, allocations: 310 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.17e-05/0.3676, allocations: 47.97 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.844e-05/0.3677, allocations: 51.91 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.3679, allocations: 156.2 kB / 1.22 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3679, allocations: 8 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003013/0.3682, allocations: 262.4 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.3682, allocations: 41.69 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3682, allocations: 0 / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3683, allocations: 3.938 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.3683, allocations: 8 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3683, allocations: 0 / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3685, allocations: 19.83 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3685, allocations: 0 / 1.22 GB, free: 12.84 MB / 0.9825 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.0003043/0.3688, allocations: 344.9 kB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.3689, allocations: 67.19 kB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.3693, allocations: 297 kB / 1.221 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3693, allocations: 0 / 1.221 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3693, allocations: 0 / 1.221 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3693, allocations: 7.969 kB / 1.221 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.3697, allocations: 381.3 kB / 1.221 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3697, allocations: 7.938 kB / 1.221 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.3697, allocations: 4 kB / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3697, allocations: 128 / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3698, allocations: 16 kB / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3698, allocations: 0 / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3698, allocations: 0 / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.3701, allocations: 310.2 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3703, allocations: 152.3 kB / 1.221 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.3703, allocations: 4 kB / 1.221 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3704, allocations: 4 kB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.3705, allocations: 15.92 kB / 1.221 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3705, allocations: 4 kB / 1.221 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006477/0.3712, allocations: 0.5848 MB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3712, allocations: 0 / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003874/0.3716, allocations: 127.9 kB / 1.222 GB, free: 10.42 MB / 0.9825 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.0003943/0.372, allocations: 183.2 kB / 1.222 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.3723, allocations: 207.5 kB / 1.223 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3723, allocations: 0 / 1.223 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.3724, allocations: 155.3 kB / 1.223 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.373, allocations: 130 kB / 1.223 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.3744, allocations: 1.073 MB / 1.224 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.375, allocations: 0.9782 MB / 1.225 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.419e-05/0.375, allocations: 25.95 kB / 1.225 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.3751, allocations: 19.44 kB / 1.225 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of SimCode: time 3.396e-06/0.3751, allocations: 0 / 1.225 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of Templates: time 0.01068/0.3858, allocations: 5.545 MB / 1.23 GB, free: 2.121 MB / 0.9825 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