Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002745/0.002745, allocations: 186.3 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 63.91 kB / 1.11 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 168.8 MB / 1.274 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.00437/1.067, allocations: 2.084 MB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004158/1.071, allocations: 2.616 MB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/1.072, allocations: 3.938 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/1.073, allocations: 0.5129 MB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/1.073, allocations: 75.58 kB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/1.074, allocations: 284.3 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006427/1.075, allocations: 321.8 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/1.075, allocations: 56 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/1.076, allocations: 107.5 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/1.076, allocations: 143.2 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/1.076, allocations: 8 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007156/1.077, allocations: 359.5 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/1.077, allocations: 103.5 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002643/1.077, allocations: 222.5 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/1.078, allocations: 0.8249 MB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.078, allocations: 3.938 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/1.078, allocations: 4 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.078, allocations: 0 / 1.282 GB, free: 12.44 MB / 0.9825 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.001631/1.08, allocations: 0.8198 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/1.08, allocations: 8.031 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/1.08, allocations: 72.47 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/1.081, allocations: 327.1 kB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/1.081, allocations: 8.312 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/1.081, allocations: 12.38 kB / 1.283 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/1.081, allocations: 136.5 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.081, allocations: 0 / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/1.081, allocations: 4 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.081, allocations: 4 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/1.081, allocations: 103.9 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/1.083, allocations: 0.5112 MB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/1.083, allocations: 90.47 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/1.083, allocations: 60.97 kB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/1.083, allocations: 4.188 kB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/1.083, allocations: 136.9 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.814e-06/1.083, allocations: 0 / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0006628/1.084, allocations: 310.9 kB / 1.284 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.084, allocations: 89.09 kB / 1.284 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/1.085, allocations: 0.7973 MB / 1.285 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/1.085, allocations: 29.7 kB / 1.285 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/1.086, allocations: 284.3 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/1.086, allocations: 31.73 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/1.086, allocations: 29.7 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001941/1.086, allocations: 310 kB / 1.286 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/1.086, allocations: 47.97 kB / 1.286 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/1.086, allocations: 43.98 kB / 1.286 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/1.086, allocations: 164.2 kB / 1.286 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.086, allocations: 0 / 1.286 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004073/1.087, allocations: 270.8 kB / 1.286 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/1.087, allocations: 41.69 kB / 1.286 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.087, allocations: 0 / 1.286 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/1.087, allocations: 0 / 1.286 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/1.087, allocations: 8 kB / 1.286 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.087, allocations: 160 / 1.286 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/1.087, allocations: 7.953 kB / 1.286 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/1.087, allocations: 7.984 kB / 1.286 GB, free: 7.484 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.0004517/1.087, allocations: 349.8 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/1.088, allocations: 79.39 kB / 1.287 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005559/1.088, allocations: 297 kB / 1.287 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.088, allocations: 0 / 1.287 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.088, allocations: 128 / 1.287 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.088, allocations: 0 / 1.287 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/1.089, allocations: 368.3 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.089, allocations: 3.938 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/1.089, allocations: 8 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.089, allocations: 0 / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/1.089, allocations: 11.98 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.089, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.089, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/1.089, allocations: 314.7 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/1.089, allocations: 67.5 kB / 1.288 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/1.089, allocations: 8 kB / 1.288 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/1.089, allocations: 4 kB / 1.288 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/1.089, allocations: 11.98 kB / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/1.089, allocations: 4 kB / 1.288 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007404/1.09, allocations: 0.5887 MB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.09, allocations: 0 / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000521/1.091, allocations: 127.8 kB / 1.289 GB, free: 5.18 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.0004405/1.091, allocations: 189.5 kB / 1.289 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003213/1.092, allocations: 175.3 kB / 1.289 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.092, allocations: 0 / 1.289 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/1.092, allocations: 119.4 kB / 1.289 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/1.092, allocations: 129.5 kB / 1.289 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/1.094, allocations: 1.096 MB / 1.29 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/1.095, allocations: 0.9703 MB / 1.291 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001227/1.095, allocations: 33.94 kB / 1.291 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/1.095, allocations: 19.42 kB / 1.291 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/1.095, allocations: 0 / 1.291 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of Templates: time 0.0131/1.108, allocations: 5.613 MB / 1.297 GB, free: 12.86 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.858221256174147]