Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00124/0.00124, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002921, 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.001192/0.001192, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001576/0.002769, 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.917/0.917, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0808/0.9978, 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.8/1.8, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4854/2.285, allocations: 123.3 MB / 0.728 GB, free: 5.824 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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.875 kB / 0.7294 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.481e-05, allocations: 2.938 kB / 0.7294 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004135/0.004159, allocations: 2.264 MB / 0.7316 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004079/0.008238, allocations: 2.768 MB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.008393, allocations: 3.938 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.009714, allocations: 0.5089 MB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.0101, allocations: 169.4 kB / 0.7349 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.01066, allocations: 216.9 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004944/0.01115, allocations: 407.7 kB / 0.7355 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.01128, allocations: 37.2 kB / 0.7356 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.01168, allocations: 279.1 kB / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.01193, allocations: 115.7 kB / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.01198, allocations: 8.594 kB / 0.736 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.01223, allocations: 79.81 kB / 0.736 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.01237, allocations: 132.1 kB / 0.7362 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.01246, allocations: 91.62 kB / 0.7362 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.01281, allocations: 419.5 kB / 0.7366 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.01282, allocations: 0 / 0.7366 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.41e-07/0.01282, allocations: 0 / 0.7366 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.01283, allocations: 1.031 kB / 0.7366 GB, free: 13.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007364/0.01357, allocations: 0.9037 MB / 0.7375 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.01359, allocations: 8.562 kB / 0.7375 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.01364, allocations: 46.66 kB / 0.7376 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.01393, allocations: 370.1 kB / 0.7379 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.01395, allocations: 4.375 kB / 0.7379 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.01396, allocations: 4.375 kB / 0.7379 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.01408, allocations: 104.7 kB / 0.738 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.01409, allocations: 3.938 kB / 0.738 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.0141, allocations: 0 / 0.738 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.0141, allocations: 4 kB / 0.738 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.01413, allocations: 16.67 kB / 0.7381 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.01447, allocations: 302.4 kB / 0.7383 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.01463, allocations: 108.8 kB / 0.7385 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.01466, allocations: 22.19 kB / 0.7385 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.01467, allocations: 11.97 kB / 0.7385 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.433e-05/0.01476, allocations: 91.91 kB / 0.7386 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.01477, allocations: 0.8438 kB / 0.7386 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001336/0.0149, allocations: 108.2 kB / 0.7387 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.01492, allocations: 55.41 kB / 0.7387 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.01543, allocations: 0.7671 MB / 0.7395 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.01544, allocations: 33.64 kB / 0.7395 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.01552, allocations: 173.9 kB / 0.7397 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.01554, allocations: 23.88 kB / 0.7397 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.01557, allocations: 17.72 kB / 0.7397 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.624e-05/0.01564, allocations: 320.4 kB / 0.74 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.01566, allocations: 10.83 kB / 0.74 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.01569, allocations: 52.27 kB / 0.7401 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.245e-05/0.01574, allocations: 51.33 kB / 0.7401 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01574, allocations: 0 / 0.7401 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.283e-05/0.01584, allocations: 106 kB / 0.7402 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.01585, allocations: 4 kB / 0.7402 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.01585, allocations: 0 / 0.7402 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.01586, allocations: 7.922 kB / 0.7402 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.01592, allocations: 20.97 kB / 0.7403 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.01592, allocations: 0 / 0.7403 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.01598, allocations: 20.84 kB / 0.7403 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.01599, allocations: 0 / 0.7403 GB, free: 9.148 MB / 0.7136 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 8.265e-05/0.01607, allocations: 118.1 kB / 0.7404 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.0161, allocations: 43.89 kB / 0.7404 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.01622, allocations: 116.5 kB / 0.7405 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01623, allocations: 6.75 kB / 0.7406 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.01623, allocations: 3.984 kB / 0.7406 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01623, allocations: 7.922 kB / 0.7406 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.01638, allocations: 197.7 kB / 0.7408 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01638, allocations: 3.984 kB / 0.7408 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.01641, allocations: 8 kB / 0.7408 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.01646, allocations: 63.47 kB / 0.7408 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01646, allocations: 3.984 kB / 0.7408 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.01646, allocations: 2.25 kB / 0.7408 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01646, allocations: 8 kB / 0.7408 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01647, allocations: 0 / 0.7408 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.01664, allocations: 130.8 kB / 0.741 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.01667, allocations: 7.938 kB / 0.741 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.335e-05/0.01672, allocations: 2.438 kB / 0.741 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.01675, allocations: 11.98 kB / 0.741 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.01676, allocations: 11.92 kB / 0.741 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002609/0.01702, allocations: 387.4 kB / 0.7414 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01702, allocations: 0 / 0.7414 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001529/0.01718, allocations: 59.92 kB / 0.7414 GB, free: 7.93 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: 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.001223/0.0184, allocations: 0.5643 MB / 0.742 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.01849, allocations: 44.83 kB / 0.742 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.0185, allocations: 11.94 kB / 0.742 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.64e-05/0.01853, allocations: 28.78 kB / 0.7421 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.01888, allocations: 211.8 kB / 0.7423 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.02295, allocations: 0.9166 MB / 0.7432 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.02305, allocations: 184.1 kB / 0.7433 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.721e-05/0.02313, allocations: 36.12 kB / 0.7434 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.02332, allocations: 145.2 kB / 0.7435 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.02332, allocations: 0 / 0.7435 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of Templates: time 0.009063/0.03239, allocations: 7.285 MB / 0.7506 GB, free: 15.08 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.768515379168093]