Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001383/0.001383, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001596/0.001596, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.361/3.361, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [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.002113/0.002113, allocations: 75.97 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3928, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004625/0.3975, allocations: 2.12 MB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004444/0.4019, allocations: 2.531 MB / 1.369 GB, free: 8.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.4021, allocations: 0 / 1.369 GB, free: 8.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.4038, allocations: 0.4899 MB / 1.37 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005297/0.4043, allocations: 167.1 kB / 1.37 GB, free: 8.254 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.405, allocations: 211.4 kB / 1.37 GB, free: 8.047 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.4057, allocations: 376.4 kB / 1.37 GB, free: 7.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.4058, allocations: 33.25 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.4061, allocations: 139.2 kB / 1.371 GB, free: 7.504 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.4064, allocations: 151.2 kB / 1.371 GB, free: 7.355 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.4064, allocations: 12 kB / 1.371 GB, free: 7.344 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.4067, allocations: 67.95 kB / 1.371 GB, free: 7.277 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.4069, allocations: 135.4 kB / 1.371 GB, free: 7.145 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.4071, allocations: 162.7 kB / 1.371 GB, free: 6.984 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009212/0.408, allocations: 0.7274 MB / 1.372 GB, free: 6.254 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.408, allocations: 0 / 1.372 GB, free: 6.254 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.408, allocations: 3.938 kB / 1.372 GB, free: 6.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.4081, allocations: 0 / 1.372 GB, free: 6.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001705/0.4098, allocations: 0.8662 MB / 1.373 GB, free: 5.344 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4098, allocations: 12.03 kB / 1.373 GB, free: 5.332 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.41, allocations: 80.47 kB / 1.373 GB, free: 5.254 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.4106, allocations: 398.9 kB / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.4107, allocations: 4.375 kB / 1.373 GB, free: 4.832 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.4107, allocations: 8.125 kB / 1.373 GB, free: 4.824 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.411, allocations: 146.7 kB / 1.373 GB, free: 4.656 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.411, allocations: 0 / 1.373 GB, free: 4.656 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.411, allocations: 7.984 kB / 1.373 GB, free: 4.648 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.411, allocations: 4 kB / 1.373 GB, free: 4.645 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.4111, allocations: 43.97 kB / 1.373 GB, free: 4.602 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009013/0.412, allocations: 464.2 kB / 1.374 GB, free: 4.117 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.4124, allocations: 106.6 kB / 1.374 GB, free: 4.004 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.4125, allocations: 36.84 kB / 1.374 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.4126, allocations: 0 / 1.374 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.4128, allocations: 113.1 kB / 1.374 GB, free: 3.836 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.4128, allocations: 0 / 1.374 GB, free: 3.836 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004913/0.4133, allocations: 205.1 kB / 1.374 GB, free: 3.629 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.4133, allocations: 81.09 kB / 1.374 GB, free: 3.531 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.4146, allocations: 0.9306 MB / 1.375 GB, free: 2.594 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.4147, allocations: 33.7 kB / 1.375 GB, free: 2.555 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.415, allocations: 316.1 kB / 1.375 GB, free: 2.242 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.415, allocations: 19.8 kB / 1.376 GB, free: 2.223 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.4151, allocations: 29.64 kB / 1.376 GB, free: 2.188 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4152, allocations: 317.9 kB / 1.376 GB, free: 1.871 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.4153, allocations: 27.98 kB / 1.376 GB, free: 1.844 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4154, allocations: 118.8 kB / 1.376 GB, free: 1.703 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.4156, allocations: 77.86 kB / 1.376 GB, free: 1.621 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.4156, allocations: 4 kB / 1.376 GB, free: 1.617 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003184/0.4159, allocations: 177.1 kB / 1.376 GB, free: 1.438 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.416, allocations: 9.547 kB / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.416, allocations: 0 / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.416, allocations: 4 kB / 1.376 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.4161, allocations: 12 kB / 1.376 GB, free: 1.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.4161, allocations: 3.938 kB / 1.376 GB, free: 1.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.4162, allocations: 7.984 kB / 1.376 GB, free: 1.402 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4162, allocations: 400 / 1.376 GB, free: 1.402 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003761/0.4166, allocations: 322.7 kB / 1.377 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/0.4167, allocations: 79.55 kB / 1.377 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.4171, allocations: 192 kB / 1.377 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4171, allocations: 4 kB / 1.377 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4171, allocations: 0 / 1.377 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4171, allocations: 0 / 1.377 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.4175, allocations: 340.9 kB / 1.377 GB, free: 444 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4175, allocations: 7.938 kB / 1.377 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.4176, allocations: 11.94 kB / 1.377 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4176, allocations: 0 / 1.377 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4176, allocations: 7.984 kB / 1.377 GB, free: 416 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4176, allocations: 4 kB / 1.377 GB, free: 412 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.4176, allocations: 0 / 1.377 GB, free: 412 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.4179, allocations: 204.6 kB / 1.377 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4181, allocations: 63.53 kB / 1.377 GB, free: 124 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.4181, allocations: 4 kB / 1.377 GB, free: 120 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.4182, allocations: 7.984 kB / 1.377 GB, free: 112 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.4183, allocations: 7.984 kB / 1.377 GB, free: 104 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.4183, allocations: 4 kB / 1.377 GB, free: 100 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009859/0.4193, allocations: 0.6864 MB / 1.378 GB, free: 15.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4193, allocations: 0 / 1.378 GB, free: 15.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000325/0.4196, allocations: 71.86 kB / 1.378 GB, free: 15.34 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0018/0.4214, allocations: 449.5 kB / 1.379 GB, free: 15.08 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.4217, allocations: 75.89 kB / 1.379 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4217, allocations: 3.938 kB / 1.379 GB, free: 15 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.4218, allocations: 39.92 kB / 1.379 GB, free: 14.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.4226, allocations: 169.6 kB / 1.379 GB, free: 14.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.4246, allocations: 1.219 MB / 1.38 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.4251, allocations: 395.7 kB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.4251, allocations: 31.38 kB / 1.381 GB, free: 13.11 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/0.4251, allocations: 0 / 1.381 GB, free: 13.11 MB / 1.076 GB Notification: Performance of Templates: time 0.01337/0.4385, allocations: 7.506 MB / 1.388 GB, free: 5.652 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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: 13.214293624740094]