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.001377/0.001377, allocations: 85.3 kB / 19.76 MB, free: 2.023 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.00156/0.00156, allocations: 158.4 kB / 23 MB, free: 4.961 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.898/2.898, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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.002099/0.002099, allocations: 63.91 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8877/0.8898, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003293/0.8931, allocations: 2.129 MB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003155/0.8962, allocations: 2.53 MB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.8964, allocations: 5.906 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.8978, allocations: 490.8 kB / 1.192 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.8981, allocations: 170.3 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.8986, allocations: 204.3 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000417/0.8991, allocations: 390.7 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.8992, allocations: 32.52 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.8993, allocations: 129.2 kB / 1.193 GB, free: 12.47 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.8995, allocations: 156 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.8996, allocations: 9.5 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.8998, allocations: 76.91 kB / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.9, allocations: 138.8 kB / 1.193 GB, free: 12.33 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.9002, allocations: 155.7 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008482/0.901, allocations: 0.733 MB / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.901, allocations: 0 / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.874e-06/0.901, allocations: 6 kB / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.901, allocations: 0 / 1.194 GB, free: 11.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001127/0.9021, allocations: 0.8517 MB / 1.195 GB, free: 11.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.9022, allocations: 9.547 kB / 1.195 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.734e-05/0.9023, allocations: 72.31 kB / 1.195 GB, free: 11.28 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.9028, allocations: 412.4 kB / 1.195 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.9028, allocations: 3.281 kB / 1.195 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.9028, allocations: 11.84 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.903, allocations: 143.6 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.903, allocations: 4 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.903, allocations: 1.984 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.903, allocations: 3.938 kB / 1.195 GB, free: 10.83 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.9031, allocations: 44.39 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.9038, allocations: 459 kB / 1.196 GB, free: 10.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.9042, allocations: 107.1 kB / 1.196 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.9043, allocations: 32.28 kB / 1.196 GB, free: 10.47 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.9043, allocations: 5.078 kB / 1.196 GB, free: 10.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.9044, allocations: 118.3 kB / 1.196 GB, free: 10.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.9044, allocations: 0 / 1.196 GB, free: 10.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0003904/0.9048, allocations: 207 kB / 1.196 GB, free: 10.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.9049, allocations: 79.3 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.9059, allocations: 0.9318 MB / 1.197 GB, free: 9.828 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.9059, allocations: 30.86 kB / 1.197 GB, free: 9.793 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.9062, allocations: 321.2 kB / 1.197 GB, free: 9.539 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.9062, allocations: 17.05 kB / 1.197 GB, free: 9.527 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.9062, allocations: 28.25 kB / 1.198 GB, free: 9.504 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.9063, allocations: 313.3 kB / 1.198 GB, free: 9.195 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.9064, allocations: 35.19 kB / 1.198 GB, free: 9.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.88e-05/0.9065, allocations: 119.3 kB / 1.198 GB, free: 9.074 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.9066, allocations: 78.09 kB / 1.198 GB, free: 9.031 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9066, allocations: 0 / 1.198 GB, free: 9.031 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000265/0.9069, allocations: 181.1 kB / 1.198 GB, free: 8.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9069, allocations: 7.875 kB / 1.198 GB, free: 8.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.9069, allocations: 6.047 kB / 1.198 GB, free: 8.926 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.9069, allocations: 0 / 1.198 GB, free: 8.926 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.283e-05/0.907, allocations: 18.59 kB / 1.198 GB, free: 8.922 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.907, allocations: 5 kB / 1.198 GB, free: 8.918 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.9071, allocations: 9.281 kB / 1.198 GB, free: 8.914 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.9071, allocations: 3.609 kB / 1.198 GB, free: 8.914 MB / 1.076 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.0002848/0.9074, allocations: 326 kB / 1.199 GB, free: 8.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.9075, allocations: 72.7 kB / 1.199 GB, free: 8.691 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.9078, allocations: 191.4 kB / 1.199 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.9079, allocations: 1.922 kB / 1.199 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9079, allocations: 0.7812 kB / 1.199 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9079, allocations: 4.797 kB / 1.199 GB, free: 8.598 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.9083, allocations: 338 kB / 1.199 GB, free: 8.398 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9083, allocations: 0 / 1.199 GB, free: 8.398 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.9083, allocations: 8.75 kB / 1.199 GB, free: 8.398 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.9083, allocations: 1 kB / 1.199 GB, free: 8.398 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.9083, allocations: 2.312 kB / 1.199 GB, free: 8.398 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9083, allocations: 1.125 kB / 1.199 GB, free: 8.398 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.9083, allocations: 0 / 1.199 GB, free: 8.398 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.9086, allocations: 210.8 kB / 1.199 GB, free: 8.266 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.801e-05/0.9087, allocations: 65.81 kB / 1.199 GB, free: 8.223 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.9088, allocations: 2.781 kB / 1.199 GB, free: 8.223 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.9089, allocations: 12.81 kB / 1.199 GB, free: 8.215 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.9089, allocations: 8.469 kB / 1.199 GB, free: 8.215 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.909, allocations: 3.516 kB / 1.199 GB, free: 8.215 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007896/0.9098, allocations: 0.6854 MB / 1.2 GB, free: 7.957 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9098, allocations: 0 / 1.2 GB, free: 7.957 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003172/0.9101, allocations: 62.25 kB / 1.2 GB, free: 7.949 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.00164/0.9117, allocations: 457.9 kB / 1.201 GB, free: 7.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.9119, allocations: 83.27 kB / 1.201 GB, free: 7.719 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.912, allocations: 1.031 kB / 1.201 GB, free: 7.719 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.647e-05/0.912, allocations: 36.2 kB / 1.201 GB, free: 7.711 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.9127, allocations: 173.6 kB / 1.201 GB, free: 7.652 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.9143, allocations: 1.162 MB / 1.202 GB, free: 7.098 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.9147, allocations: 400.9 kB / 1.202 GB, free: 6.938 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.9148, allocations: 46.42 kB / 1.202 GB, free: 6.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.9149, allocations: 30.89 kB / 1.202 GB, free: 6.914 MB / 1.076 GB Notification: Performance of SimCode: time 4.2e-07/0.9149, allocations: 1.156 kB / 1.202 GB, free: 6.914 MB / 1.076 GB Notification: Performance of Templates: time 0.01335/0.9282, allocations: 6.459 MB / 1.209 GB, free: 6.094 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.852875533048064]