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.001358/0.001358, 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.001525/0.001525, allocations: 213.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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.838/2.838, allocations: 476 MB / 0.7707 GB, free: 4.758 MB / 0.6231 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.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: 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.002143/0.002143, allocations: 67 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004446/0.3316, allocations: 2.127 MB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00427/0.3358, allocations: 2.523 MB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.336, allocations: 4 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.3376, allocations: 0.4938 MB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.3381, allocations: 163.2 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.3388, allocations: 201.7 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006213/0.3394, allocations: 387.6 kB / 1.29 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3396, allocations: 33.22 kB / 1.29 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.3398, allocations: 139.4 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.3401, allocations: 151.2 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.3402, allocations: 8 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.3404, allocations: 75.94 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.3406, allocations: 139.3 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.3409, allocations: 154.8 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009698/0.3418, allocations: 0.7235 MB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3418, allocations: 0 / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3418, allocations: 11.88 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.331e-05/0.3419, allocations: 0 / 1.291 GB, free: 4.598 MB / 0.9825 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.001762/0.3436, allocations: 0.8683 MB / 1.292 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3437, allocations: 8.031 kB / 1.292 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.3438, allocations: 80.41 kB / 1.292 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006764/0.3445, allocations: 395 kB / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3445, allocations: 8.375 kB / 1.292 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3445, allocations: 8.125 kB / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.3448, allocations: 142.7 kB / 1.292 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3448, allocations: 8 kB / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3448, allocations: 0 / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3448, allocations: 0 / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.345, allocations: 43.97 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008951/0.3458, allocations: 476.1 kB / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.3462, allocations: 102.6 kB / 1.293 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.3463, allocations: 32.83 kB / 1.293 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3464, allocations: 4 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.3466, allocations: 117.1 kB / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3466, allocations: 0 / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004962/0.3471, allocations: 197.2 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.3471, allocations: 85.11 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.3484, allocations: 0.9267 MB / 1.294 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3484, allocations: 25.7 kB / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.3487, allocations: 328 kB / 1.295 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.3488, allocations: 23.83 kB / 1.295 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.3488, allocations: 21.72 kB / 1.295 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.349, allocations: 313.9 kB / 1.295 GB, free: 236 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.3491, allocations: 39.92 kB / 1.295 GB, free: 196 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3492, allocations: 122.8 kB / 1.295 GB, free: 48 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3494, allocations: 66.25 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3494, allocations: 0 / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003135/0.3497, allocations: 181 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3497, allocations: 8 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3497, allocations: 0 / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3498, allocations: 0 / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.3499, allocations: 20.05 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3499, allocations: 0 / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.35, allocations: 11.95 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.35, allocations: 4 kB / 1.295 GB, free: 15.75 MB / 0.9981 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.0003694/0.3504, allocations: 325.5 kB / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-05/0.3505, allocations: 71.53 kB / 1.296 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.3509, allocations: 192 kB / 1.296 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3509, allocations: 0 / 1.296 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3509, allocations: 4 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3509, allocations: 7.922 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.3513, allocations: 337 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3513, allocations: 0 / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.3514, allocations: 15.92 kB / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3514, allocations: 0 / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3514, allocations: 0 / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3514, allocations: 0 / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3514, allocations: 0 / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.3517, allocations: 216.5 kB / 1.297 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.3519, allocations: 63.52 kB / 1.297 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.3519, allocations: 4 kB / 1.297 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3521, allocations: 8 kB / 1.297 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.3521, allocations: 7.984 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.3521, allocations: 15.97 kB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000912/0.3531, allocations: 0.6864 MB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3531, allocations: 0 / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003083/0.3534, allocations: 59.94 kB / 1.297 GB, free: 13.69 MB / 0.9981 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.00174/0.3551, allocations: 451.2 kB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.3554, allocations: 83.88 kB / 1.298 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3554, allocations: 4.062 kB / 1.298 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3555, allocations: 35.92 kB / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007204/0.3562, allocations: 164.1 kB / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.3583, allocations: 1.224 MB / 1.299 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.3588, allocations: 391.7 kB / 1.3 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.3589, allocations: 31.42 kB / 1.3 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3589, allocations: 0 / 1.3 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of Templates: time 0.0155/0.3744, allocations: 7.505 MB / 1.307 GB, free: 4.012 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.688315187115222]