Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007751/0.0007751, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000765/0.000765, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8628/0.8628, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.587/1.587, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0.9518 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.086e-05, allocations: 6.219 kB / 0.9518 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002305/0.002326, allocations: 2.128 MB / 0.9538 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.004377, allocations: 2.53 MB / 0.9563 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.221e-05/0.00447, allocations: 3.938 kB / 0.9563 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008593/0.005329, allocations: 0.4897 MB / 0.9568 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.00556, allocations: 171 kB / 0.957 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.005871, allocations: 206.5 kB / 0.9572 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.006175, allocations: 408.6 kB / 0.9575 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.006271, allocations: 29.27 kB / 0.9576 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.006419, allocations: 179.5 kB / 0.9577 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.006693, allocations: 127.6 kB / 0.9579 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.006714, allocations: 8 kB / 0.9579 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.006837, allocations: 75.81 kB / 0.9579 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.006948, allocations: 143.4 kB / 0.9581 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.192e-05/0.00703, allocations: 103.5 kB / 0.9582 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.007522, allocations: 0.7007 MB / 0.9589 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.007526, allocations: 4 kB / 0.9589 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007527, allocations: 0 / 0.9589 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.007532, allocations: 0 / 0.9589 GB, free: 11.68 MB / 0.9167 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.0008022/0.008334, allocations: 0.8546 MB / 0.9597 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.008367, allocations: 8.031 kB / 0.9597 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.008439, allocations: 72.47 kB / 0.9598 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.008782, allocations: 406.1 kB / 0.9602 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.008797, allocations: 8.375 kB / 0.9602 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.008809, allocations: 8.359 kB / 0.9602 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.008974, allocations: 143.3 kB / 0.9603 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.008982, allocations: 3.938 kB / 0.9603 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.008993, allocations: 4 kB / 0.9603 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.008997, allocations: 0 / 0.9603 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.009072, allocations: 43.97 kB / 0.9604 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.00954, allocations: 464.3 kB / 0.9608 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.009775, allocations: 102.6 kB / 0.9609 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.009818, allocations: 36.84 kB / 0.9609 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.009832, allocations: 4 kB / 0.9609 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.009958, allocations: 117.1 kB / 0.9611 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.735e-06/0.009961, allocations: 3.984 kB / 0.9611 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002727/0.01023, allocations: 205.2 kB / 0.9613 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.01027, allocations: 81.11 kB / 0.9613 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/0.01094, allocations: 0.9306 MB / 0.9622 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.01095, allocations: 25.7 kB / 0.9623 GB, free: 8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.01114, allocations: 324 kB / 0.9626 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.01116, allocations: 23.89 kB / 0.9626 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.01119, allocations: 21.72 kB / 0.9626 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.01126, allocations: 314 kB / 0.9629 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.0113, allocations: 27.98 kB / 0.9629 GB, free: 7.289 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.01138, allocations: 126.7 kB / 0.9631 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.726e-05/0.01147, allocations: 73.64 kB / 0.9631 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.01147, allocations: 0 / 0.9631 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001578/0.01163, allocations: 181.4 kB / 0.9633 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01164, allocations: 14.25 kB / 0.9633 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01164, allocations: 80 / 0.9633 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.01165, allocations: 0 / 0.9633 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.614e-05/0.0117, allocations: 15.98 kB / 0.9633 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01171, allocations: 7.922 kB / 0.9633 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.01177, allocations: 4 kB / 0.9634 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.01178, allocations: 4 kB / 0.9634 GB, free: 6.836 MB / 0.9167 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.0002088/0.01199, allocations: 330.1 kB / 0.9637 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.01203, allocations: 71.53 kB / 0.9637 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.01225, allocations: 196.1 kB / 0.9639 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01226, allocations: 0 / 0.9639 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01226, allocations: 0 / 0.9639 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01226, allocations: 0 / 0.9639 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.01248, allocations: 337 kB / 0.9642 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01248, allocations: 0 / 0.9642 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.01251, allocations: 7.984 kB / 0.9643 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01251, allocations: 4 kB / 0.9643 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.01252, allocations: 4 kB / 0.9643 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01252, allocations: 0 / 0.9643 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01252, allocations: 3.938 kB / 0.9643 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.01268, allocations: 212.5 kB / 0.9645 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.01274, allocations: 67.52 kB / 0.9645 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.01277, allocations: 8 kB / 0.9645 GB, free: 5.551 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.01283, allocations: 4 kB / 0.9645 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.01287, allocations: 7.984 kB / 0.9646 GB, free: 5.539 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.01288, allocations: 11.98 kB / 0.9646 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006351/0.01352, allocations: 0.6824 MB / 0.9652 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01352, allocations: 0 / 0.9652 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001835/0.0137, allocations: 63.94 kB / 0.9653 GB, free: 4.785 MB / 0.9167 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.0006645/0.01436, allocations: 442.8 kB / 0.9657 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.01451, allocations: 79.89 kB / 0.9658 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01451, allocations: 0 / 0.9658 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.01456, allocations: 39.91 kB / 0.9658 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.01495, allocations: 176.4 kB / 0.966 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.01596, allocations: 1.211 MB / 0.9672 GB, free: 2.996 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.01621, allocations: 403.7 kB / 0.9676 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.01625, allocations: 28.5 kB / 0.9676 GB, free: 2.547 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.01625, allocations: 0 / 0.9676 GB, free: 2.547 MB / 0.9167 GB Notification: Performance of Templates: time 0.00631/0.02256, allocations: 7.51 MB / 0.9749 GB, free: 11.1 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.059510071761906]