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.001156/0.001156, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002822, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001148/0.001148, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002645, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9293/0.9293, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07649/1.006, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.753/1.753, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4402/2.193, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.7294 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.115e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002948/0.002969, allocations: 2.147 MB / 0.7315 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.00611, allocations: 2.584 MB / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.006252, allocations: 4.562 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.007389, allocations: 489.3 kB / 0.7345 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.007536, allocations: 69.09 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008962/0.008433, allocations: 245.5 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.008856, allocations: 340.2 kB / 0.7351 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.00901, allocations: 57.14 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.009298, allocations: 234.3 kB / 0.7354 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.009464, allocations: 99.73 kB / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.009495, allocations: 13.78 kB / 0.7355 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006666/0.01016, allocations: 367.4 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.01028, allocations: 103.5 kB / 0.7359 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.0104, allocations: 87.62 kB / 0.736 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008822/0.01128, allocations: 0.5462 MB / 0.7365 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.036e-05/0.0113, allocations: 0 / 0.7365 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.0113, allocations: 0 / 0.7365 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2e-05/0.01132, allocations: 4.531 kB / 0.7365 GB, free: 13.19 MB / 0.7136 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.001078/0.0124, allocations: 0.8813 MB / 0.7374 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.01244, allocations: 8.031 kB / 0.7374 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.67e-05/0.01252, allocations: 49.38 kB / 0.7375 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.01287, allocations: 331.1 kB / 0.7378 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.01289, allocations: 8.375 kB / 0.7378 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.01291, allocations: 9.406 kB / 0.7378 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.0131, allocations: 120 kB / 0.7379 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.01311, allocations: 3.938 kB / 0.7379 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.01312, allocations: 4.688 kB / 0.7379 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.01313, allocations: 4 kB / 0.7379 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.0132, allocations: 62.73 kB / 0.738 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.01371, allocations: 321.6 kB / 0.7383 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.01383, allocations: 125.8 kB / 0.7384 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.01387, allocations: 47.84 kB / 0.7384 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.01392, allocations: 11.98 kB / 0.7385 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.01407, allocations: 133.6 kB / 0.7386 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.394e-06/0.01407, allocations: 4.75 kB / 0.7386 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002498/0.01432, allocations: 226.6 kB / 0.7388 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.01436, allocations: 78.14 kB / 0.7389 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.01479, allocations: 0.5116 MB / 0.7394 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.01481, allocations: 30.36 kB / 0.7394 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01492, allocations: 177.8 kB / 0.7396 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.01495, allocations: 28.23 kB / 0.7396 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.015, allocations: 25.7 kB / 0.7396 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003414/0.01534, allocations: 321 kB / 0.7399 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.01539, allocations: 44.53 kB / 0.74 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.01542, allocations: 45.69 kB / 0.74 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.01551, allocations: 115.4 kB / 0.7401 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01551, allocations: 0 / 0.7401 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001459/0.01565, allocations: 168.9 kB / 0.7403 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.01569, allocations: 37.69 kB / 0.7403 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.0157, allocations: 0 / 0.7403 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.01571, allocations: 2.438 kB / 0.7403 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.01577, allocations: 12 kB / 0.7403 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.01578, allocations: 3.938 kB / 0.7403 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.43e-05/0.01586, allocations: 7.984 kB / 0.7404 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.01588, allocations: 8 kB / 0.7404 GB, free: 9.012 MB / 0.7136 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.0001168/0.016, allocations: 153.9 kB / 0.7405 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.01603, allocations: 39.95 kB / 0.7405 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.01625, allocations: 198.6 kB / 0.7407 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01625, allocations: 0 / 0.7407 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01625, allocations: 1 kB / 0.7407 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01626, allocations: 3.938 kB / 0.7407 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.01645, allocations: 190.7 kB / 0.7409 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01645, allocations: 0 / 0.7409 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.01649, allocations: 12 kB / 0.7409 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.01657, allocations: 65.44 kB / 0.741 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01657, allocations: 0 / 0.741 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.01658, allocations: 4 kB / 0.741 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01658, allocations: 0 / 0.741 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01658, allocations: 0 / 0.741 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.01675, allocations: 226 kB / 0.7412 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.01679, allocations: 6.75 kB / 0.7412 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.01686, allocations: 3.984 kB / 0.7412 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.01689, allocations: 8 kB / 0.7412 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.0169, allocations: 4 kB / 0.7412 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002244/0.01713, allocations: 248.5 kB / 0.7415 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01713, allocations: 0 / 0.7415 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003219/0.01745, allocations: 127.8 kB / 0.7416 GB, free: 7.668 MB / 0.7136 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.0003052/0.01776, allocations: 200.1 kB / 0.7418 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.01792, allocations: 187.5 kB / 0.742 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.01793, allocations: 12.72 kB / 0.742 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.507e-05/0.01801, allocations: 121.9 kB / 0.7421 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.01839, allocations: 152.7 kB / 0.7422 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006201/0.02459, allocations: 0.8901 MB / 0.7431 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.02473, allocations: 172.4 kB / 0.7433 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.562e-05/0.02481, allocations: 20.58 kB / 0.7433 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.02502, allocations: 129.3 kB / 0.7434 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/0.02502, allocations: 0 / 0.7434 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of Templates: time 0.01083/0.03585, allocations: 6.478 MB / 0.7497 GB, free: 15.52 MB / 0.7292 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.758023539558053]