Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001326/0.001326, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001495/0.001495, allocations: 215.2 kB / 23.01 MB, free: 4.609 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.342/3.342, allocations: 0.49 GB / 0.7958 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002128/0.002128, allocations: 68.59 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3668, allocations: 176.1 MB / 1.327 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003704/0.3705, allocations: 2.091 MB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004053/0.3746, allocations: 2.655 MB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.3747, allocations: 0 / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.376, allocations: 0.5056 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.3762, allocations: 75.53 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009125/0.3771, allocations: 278 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.3776, allocations: 326.2 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3777, allocations: 57.12 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.3779, allocations: 107.5 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.3782, allocations: 143.2 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.3782, allocations: 11.94 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006117/0.3788, allocations: 359.5 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3789, allocations: 107.5 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.3791, allocations: 214.4 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.3801, allocations: 0.8249 MB / 1.335 GB, free: 9.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3801, allocations: 0 / 1.335 GB, free: 9.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3801, allocations: 0 / 1.335 GB, free: 9.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.3802, allocations: 8 kB / 1.335 GB, free: 9.652 MB / 1.029 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.001252/0.3814, allocations: 0.8275 MB / 1.336 GB, free: 8.785 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3815, allocations: 8.031 kB / 1.336 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.3816, allocations: 68.52 kB / 1.336 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.3821, allocations: 323.2 kB / 1.336 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3821, allocations: 8.312 kB / 1.336 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3821, allocations: 8.375 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.3824, allocations: 137.8 kB / 1.336 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3825, allocations: 4 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3825, allocations: 4 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3825, allocations: 4 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3826, allocations: 95.94 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/0.3836, allocations: 0.5111 MB / 1.337 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3838, allocations: 94.62 kB / 1.337 GB, free: 7.449 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3839, allocations: 56.91 kB / 1.337 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.3839, allocations: 16.17 kB / 1.337 GB, free: 7.375 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.3841, allocations: 129 kB / 1.337 GB, free: 7.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3841, allocations: 0 / 1.337 GB, free: 7.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005423/0.3847, allocations: 314.8 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.3847, allocations: 89.05 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009714/0.3857, allocations: 0.7896 MB / 1.338 GB, free: 6.004 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3857, allocations: 29.7 kB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.386, allocations: 292.2 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.3861, allocations: 31.77 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.3861, allocations: 29.72 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3863, allocations: 310 kB / 1.339 GB, free: 5.305 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.3863, allocations: 43.98 kB / 1.339 GB, free: 5.262 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.3864, allocations: 47.97 kB / 1.339 GB, free: 5.215 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.3866, allocations: 160.2 kB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3866, allocations: 0 / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003489/0.387, allocations: 278.8 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.387, allocations: 37.62 kB / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.387, allocations: 4 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.387, allocations: 0 / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.3871, allocations: 4 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3871, allocations: 7.984 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3872, allocations: 7.938 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.3872, allocations: 4 kB / 1.339 GB, free: 4.688 MB / 1.029 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.3876, allocations: 343.9 kB / 1.34 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.3877, allocations: 75.47 kB / 1.34 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.3881, allocations: 304.8 kB / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3881, allocations: 3.984 kB / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3881, allocations: 0 / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3881, allocations: 0 / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.3885, allocations: 352.5 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3885, allocations: 3.938 kB / 1.34 GB, free: 3.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.3886, allocations: 8 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3886, allocations: 0 / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3886, allocations: 4 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3886, allocations: 4 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3886, allocations: 0 / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.389, allocations: 314.7 kB / 1.341 GB, free: 3.203 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.3892, allocations: 79.38 kB / 1.341 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.3892, allocations: 8 kB / 1.341 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3893, allocations: 4 kB / 1.341 GB, free: 3.113 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.3894, allocations: 11.92 kB / 1.341 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3894, allocations: 12 kB / 1.341 GB, free: 3.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007974/0.3902, allocations: 0.5809 MB / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3902, allocations: 0 / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004428/0.3906, allocations: 127.9 kB / 1.341 GB, free: 2.391 MB / 1.029 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.0003922/0.391, allocations: 189.3 kB / 1.342 GB, free: 2.199 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.3914, allocations: 175.5 kB / 1.342 GB, free: 2.016 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3914, allocations: 0 / 1.342 GB, free: 2.016 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.3915, allocations: 127.5 kB / 1.342 GB, free: 1.879 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.3921, allocations: 138.8 kB / 1.342 GB, free: 1.742 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3939, allocations: 1.145 MB / 1.343 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.3946, allocations: 0.9704 MB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.3946, allocations: 19.44 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of SimCode: time 4e-07/0.3946, allocations: 0 / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of Templates: time 0.01131/0.4059, allocations: 6.758 MB / 1.351 GB, free: 8.844 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.972672715986846]