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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 108.3 kB / 19.71 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 214 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.355/3.355, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 63.5 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3843, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003825/0.3882, allocations: 2.011 MB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003696/0.3919, allocations: 2.359 MB / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.392, allocations: 7.938 kB / 1.369 GB, free: 9.145 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.3932, allocations: 457.9 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.3934, allocations: 75.58 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008764/0.3943, allocations: 277.7 kB / 1.37 GB, free: 8.352 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.3947, allocations: 326.4 kB / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.3949, allocations: 49.19 kB / 1.37 GB, free: 7.977 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.395, allocations: 111.4 kB / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.3952, allocations: 135.3 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.3953, allocations: 8 kB / 1.37 GB, free: 7.727 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.3959, allocations: 327.5 kB / 1.371 GB, free: 7.406 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.396, allocations: 107.5 kB / 1.371 GB, free: 7.301 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.3962, allocations: 150.8 kB / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3972, allocations: 0.8327 MB / 1.372 GB, free: 6.316 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3972, allocations: 3.938 kB / 1.372 GB, free: 6.312 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3972, allocations: 0 / 1.372 GB, free: 6.312 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.3972, allocations: 4 kB / 1.372 GB, free: 6.309 MB / 1.061 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.001195/0.3984, allocations: 0.8197 MB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3984, allocations: 8.031 kB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.3985, allocations: 72.47 kB / 1.373 GB, free: 5.371 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.3991, allocations: 323.2 kB / 1.373 GB, free: 5.027 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3992, allocations: 12.22 kB / 1.373 GB, free: 5.016 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.3992, allocations: 12.38 kB / 1.373 GB, free: 5.004 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.3995, allocations: 159.6 kB / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3995, allocations: 0 / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3995, allocations: 0 / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.3995, allocations: 11.98 kB / 1.373 GB, free: 4.824 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.3998, allocations: 129.6 kB / 1.373 GB, free: 4.691 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.4006, allocations: 476.1 kB / 1.374 GB, free: 4.195 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.4008, allocations: 124.2 kB / 1.374 GB, free: 4.059 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.4009, allocations: 90.7 kB / 1.374 GB, free: 3.961 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-05/0.401, allocations: 4 kB / 1.374 GB, free: 3.957 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.4012, allocations: 170.8 kB / 1.374 GB, free: 3.766 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.4012, allocations: 0 / 1.374 GB, free: 3.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0005793/0.4018, allocations: 370.2 kB / 1.374 GB, free: 3.379 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.4019, allocations: 97.03 kB / 1.374 GB, free: 3.266 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009523/0.4028, allocations: 0.7582 MB / 1.375 GB, free: 2.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4028, allocations: 25.7 kB / 1.375 GB, free: 2.469 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.4031, allocations: 296 kB / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.4032, allocations: 23.75 kB / 1.376 GB, free: 2.152 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.641e-05/0.4032, allocations: 33.7 kB / 1.376 GB, free: 2.113 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4034, allocations: 306 kB / 1.376 GB, free: 1.809 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.4035, allocations: 85.66 kB / 1.376 GB, free: 1.719 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.253e-05/0.4036, allocations: 77.67 kB / 1.376 GB, free: 1.637 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.4038, allocations: 164.2 kB / 1.376 GB, free: 1.461 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4038, allocations: 4 kB / 1.376 GB, free: 1.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003686/0.4041, allocations: 304.6 kB / 1.376 GB, free: 1.141 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.4042, allocations: 37.62 kB / 1.376 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4042, allocations: 7.938 kB / 1.376 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4042, allocations: 0 / 1.376 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.4043, allocations: 4 kB / 1.376 GB, free: 1.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4043, allocations: 4 kB / 1.376 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.4044, allocations: 8 kB / 1.376 GB, free: 1.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.4044, allocations: 7.984 kB / 1.377 GB, free: 1.066 MB / 1.061 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.0003627/0.4048, allocations: 340.8 kB / 1.377 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.4048, allocations: 71.52 kB / 1.377 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.4053, allocations: 334.3 kB / 1.377 GB, free: 304 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.4053, allocations: 3.984 kB / 1.377 GB, free: 300 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4053, allocations: 0 / 1.377 GB, free: 300 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4053, allocations: 0 / 1.377 GB, free: 300 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.4057, allocations: 309.2 kB / 1.378 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4057, allocations: 0 / 1.378 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.4058, allocations: 8 kB / 1.378 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4058, allocations: 0 / 1.378 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.4058, allocations: 15.92 kB / 1.378 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4058, allocations: 160 / 1.378 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4058, allocations: 4 kB / 1.378 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.4062, allocations: 336.5 kB / 1.378 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.4064, allocations: 71.5 kB / 1.378 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.4064, allocations: 7.938 kB / 1.378 GB, free: 15.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.4065, allocations: 12.17 kB / 1.378 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.4066, allocations: 11.94 kB / 1.378 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.4066, allocations: 7.984 kB / 1.378 GB, free: 15.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000767/0.4074, allocations: 0.5575 MB / 1.379 GB, free: 14.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4074, allocations: 0 / 1.379 GB, free: 14.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004303/0.4078, allocations: 135.8 kB / 1.379 GB, free: 14.78 MB / 1.076 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.0003707/0.4082, allocations: 182.9 kB / 1.379 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003602/0.4085, allocations: 246.7 kB / 1.379 GB, free: 14.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4085, allocations: 0 / 1.379 GB, free: 14.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.4087, allocations: 153 kB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.4093, allocations: 121.9 kB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.4111, allocations: 1.178 MB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.4115, allocations: 382.5 kB / 1.381 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.4116, allocations: 15.44 kB / 1.381 GB, free: 12.41 MB / 1.076 GB Notification: Performance of SimCode: time 4.4e-07/0.4116, allocations: 0 / 1.381 GB, free: 12.41 MB / 1.076 GB Notification: Performance of Templates: time 0.01166/0.4232, allocations: 6.913 MB / 1.388 GB, free: 5.543 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.84160660719499]