Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_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_10_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.009393/0.009393, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001869/0.001869, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003739/1.083, allocations: 2.053 MB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004009/1.087, allocations: 2.605 MB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/1.087, allocations: 0 / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/1.089, allocations: 0.5061 MB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/1.089, allocations: 71.58 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009061/1.09, allocations: 269 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003988/1.09, allocations: 328 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/1.091, allocations: 93.05 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/1.091, allocations: 111.5 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/1.091, allocations: 131.2 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/1.091, allocations: 12 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/1.091, allocations: 323.5 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/1.092, allocations: 99.55 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/1.092, allocations: 214.5 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008799/1.093, allocations: 0.8249 MB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.093, allocations: 0 / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.282e-06/1.093, allocations: 0 / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.161e-05/1.093, allocations: 0 / 1.174 GB, free: 12.22 MB / 0.9044 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.001026/1.094, allocations: 0.8989 MB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.094, allocations: 12.03 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.864e-05/1.094, allocations: 68.52 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/1.094, allocations: 396.9 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/1.094, allocations: 4.375 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/1.094, allocations: 12.38 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/1.095, allocations: 125.9 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/1.095, allocations: 0 / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/1.095, allocations: 8 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/1.095, allocations: 4 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/1.095, allocations: 106.4 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/1.096, allocations: 0.5471 MB / 1.176 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/1.096, allocations: 106.5 kB / 1.176 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/1.096, allocations: 64.97 kB / 1.176 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/1.096, allocations: 8.172 kB / 1.176 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/1.096, allocations: 141 kB / 1.176 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/1.096, allocations: 0 / 1.176 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0004739/1.097, allocations: 314.9 kB / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/1.097, allocations: 81.11 kB / 1.177 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/1.098, allocations: 0.7973 MB / 1.178 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/1.098, allocations: 25.7 kB / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/1.098, allocations: 292.2 kB / 1.178 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/1.098, allocations: 23.81 kB / 1.178 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/1.098, allocations: 29.7 kB / 1.178 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.098, allocations: 314 kB / 1.178 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/1.098, allocations: 47.97 kB / 1.178 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/1.098, allocations: 43.97 kB / 1.178 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/1.099, allocations: 160.2 kB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.099, allocations: 0 / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003122/1.099, allocations: 271.2 kB / 1.179 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/1.099, allocations: 41.69 kB / 1.179 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.099, allocations: 0 / 1.179 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.099, allocations: 8 kB / 1.179 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/1.099, allocations: 4 kB / 1.179 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/1.099, allocations: 4 kB / 1.179 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/1.099, allocations: 15.88 kB / 1.179 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/1.099, allocations: 4 kB / 1.179 GB, free: 7.023 MB / 0.9044 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.000451/1.1, allocations: 341.6 kB / 1.179 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/1.1, allocations: 67.52 kB / 1.179 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/1.1, allocations: 304.8 kB / 1.18 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.1, allocations: 4 kB / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.1, allocations: 4 kB / 1.18 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.1, allocations: 0 / 1.18 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/1.101, allocations: 373.5 kB / 1.18 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.101, allocations: 3.938 kB / 1.18 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/1.101, allocations: 7.984 kB / 1.18 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.101, allocations: 4 kB / 1.18 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/1.101, allocations: 4 kB / 1.18 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.101, allocations: 0 / 1.18 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.101, allocations: 4 kB / 1.18 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/1.101, allocations: 318.1 kB / 1.18 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/1.102, allocations: 156.7 kB / 1.18 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/1.102, allocations: 8 kB / 1.18 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/1.102, allocations: 7.984 kB / 1.18 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/1.102, allocations: 8 kB / 1.18 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/1.102, allocations: 4 kB / 1.18 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000881/1.103, allocations: 0.5887 MB / 1.181 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/1.103, allocations: 4 kB / 1.181 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004192/1.103, allocations: 119.9 kB / 1.181 GB, free: 4.609 MB / 0.9044 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.0004259/1.104, allocations: 191 kB / 1.181 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003971/1.104, allocations: 207.3 kB / 1.181 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/1.104, allocations: 0 / 1.181 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/1.104, allocations: 143.4 kB / 1.182 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/1.105, allocations: 133.1 kB / 1.182 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/1.106, allocations: 1.088 MB / 1.183 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/1.107, allocations: 0.9782 MB / 1.184 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.222e-05/1.107, allocations: 29.88 kB / 1.184 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/1.107, allocations: 15.44 kB / 1.184 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/1.107, allocations: 0 / 1.184 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of Templates: time 0.01162/1.119, allocations: 5.547 MB / 1.189 GB, free: 12.3 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches