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.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.002073/0.002073, allocations: 79.42 kB / 19.76 MB, free: 2.031 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.003312/0.003312, allocations: 155.8 kB / 23.01 MB, free: 4.941 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.569/1.569, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.811/2.811, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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.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_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: 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.002491/0.002491, allocations: 63.91 kB / 0.9515 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3931, allocations: 169.9 MB / 1.117 GB, free: 2.469 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004257/0.3974, allocations: 2.022 MB / 1.119 GB, free: 444 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004374/0.4017, allocations: 2.363 MB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.402, allocations: 0 / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.4038, allocations: 465.9 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.4041, allocations: 67.53 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.4053, allocations: 282.7 kB / 1.123 GB, free: 13.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005953/0.4059, allocations: 326.3 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.4061, allocations: 41.27 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.4063, allocations: 111.5 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.4066, allocations: 131.2 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.4067, allocations: 8 kB / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007366/0.4074, allocations: 343.5 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.4076, allocations: 111.5 kB / 1.124 GB, free: 12.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.4078, allocations: 142.9 kB / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.4092, allocations: 0.8327 MB / 1.125 GB, free: 11.23 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4092, allocations: 0 / 1.125 GB, free: 11.23 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4092, allocations: 0 / 1.125 GB, free: 11.23 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.4092, allocations: 0 / 1.125 GB, free: 11.23 MB / 1.076 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.001738/0.4109, allocations: 0.8236 MB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.411, allocations: 8.031 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.4111, allocations: 68.52 kB / 1.125 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/0.4118, allocations: 335.1 kB / 1.126 GB, free: 9.941 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.4118, allocations: 8.375 kB / 1.126 GB, free: 9.934 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.4118, allocations: 8.375 kB / 1.126 GB, free: 9.926 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.4121, allocations: 161.6 kB / 1.126 GB, free: 9.758 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4121, allocations: 0 / 1.126 GB, free: 9.758 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.4122, allocations: 15.92 kB / 1.126 GB, free: 9.742 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4122, allocations: 0 / 1.126 GB, free: 9.742 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.4124, allocations: 121.7 kB / 1.126 GB, free: 9.617 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.4133, allocations: 472.1 kB / 1.126 GB, free: 9.125 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.4135, allocations: 128.2 kB / 1.127 GB, free: 8.984 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.4136, allocations: 82.67 kB / 1.127 GB, free: 8.895 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.4136, allocations: 8 kB / 1.127 GB, free: 8.887 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.4139, allocations: 170.9 kB / 1.127 GB, free: 8.695 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.4139, allocations: 0 / 1.127 GB, free: 8.695 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0005983/0.4145, allocations: 378.2 kB / 1.127 GB, free: 8.301 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.4145, allocations: 85.09 kB / 1.127 GB, free: 8.199 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.4156, allocations: 0.7581 MB / 1.128 GB, free: 7.434 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.4156, allocations: 29.7 kB / 1.128 GB, free: 7.398 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.4159, allocations: 295.9 kB / 1.128 GB, free: 7.105 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.416, allocations: 23.8 kB / 1.128 GB, free: 7.082 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.416, allocations: 33.7 kB / 1.128 GB, free: 7.043 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4162, allocations: 310 kB / 1.129 GB, free: 6.734 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.4163, allocations: 81.67 kB / 1.129 GB, free: 6.648 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.4164, allocations: 77.67 kB / 1.129 GB, free: 6.566 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.4166, allocations: 168.1 kB / 1.129 GB, free: 6.387 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4166, allocations: 0 / 1.129 GB, free: 6.387 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004003/0.417, allocations: 300.6 kB / 1.129 GB, free: 6.074 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.417, allocations: 45.62 kB / 1.129 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.417, allocations: 0 / 1.129 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.417, allocations: 0 / 1.129 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.4171, allocations: 8 kB / 1.129 GB, free: 6.016 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4171, allocations: 4 kB / 1.129 GB, free: 6.012 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.4173, allocations: 11.94 kB / 1.129 GB, free: 6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.4173, allocations: 4 kB / 1.129 GB, free: 5.996 MB / 1.076 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.0003693/0.4177, allocations: 347.3 kB / 1.13 GB, free: 5.641 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.4177, allocations: 71.52 kB / 1.13 GB, free: 5.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/0.4182, allocations: 334.6 kB / 1.13 GB, free: 5.223 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4182, allocations: 4 kB / 1.13 GB, free: 5.219 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4183, allocations: 0 / 1.13 GB, free: 5.219 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4183, allocations: 0 / 1.13 GB, free: 5.219 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.4186, allocations: 305.2 kB / 1.13 GB, free: 4.891 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4186, allocations: 4 kB / 1.13 GB, free: 4.887 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.4187, allocations: 4 kB / 1.13 GB, free: 4.883 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4187, allocations: 0 / 1.13 GB, free: 4.883 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4187, allocations: 15.86 kB / 1.13 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4187, allocations: 0 / 1.13 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4187, allocations: 0 / 1.13 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.4191, allocations: 344.4 kB / 1.131 GB, free: 4.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.4193, allocations: 75.44 kB / 1.131 GB, free: 4.426 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.4193, allocations: 7.938 kB / 1.131 GB, free: 4.418 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.4194, allocations: 7.984 kB / 1.131 GB, free: 4.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.4195, allocations: 11.98 kB / 1.131 GB, free: 4.398 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.4195, allocations: 8 kB / 1.131 GB, free: 4.391 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000704/0.4202, allocations: 0.5575 MB / 1.131 GB, free: 3.836 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4202, allocations: 0 / 1.131 GB, free: 3.836 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004675/0.4207, allocations: 127.8 kB / 1.131 GB, free: 3.711 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.0004361/0.4211, allocations: 189.9 kB / 1.132 GB, free: 3.516 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.4215, allocations: 246.8 kB / 1.132 GB, free: 3.25 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4215, allocations: 0 / 1.132 GB, free: 3.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.4216, allocations: 141.1 kB / 1.132 GB, free: 3.094 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.4222, allocations: 130.1 kB / 1.132 GB, free: 2.973 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.4239, allocations: 1.121 MB / 1.133 GB, free: 1.809 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.4244, allocations: 378.5 kB / 1.134 GB, free: 1.414 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.4245, allocations: 25.94 kB / 1.134 GB, free: 1.391 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.4245, allocations: 16.5 kB / 1.134 GB, free: 1.375 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/0.4245, allocations: 4 kB / 1.134 GB, free: 1.371 MB / 1.076 GB Notification: Performance of Templates: time 0.7206/1.145, allocations: 5.624 MB / 1.139 GB, free: 57.73 MB / 1.076 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 -s ida -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/jenkins1/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.561911728000268]