Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 185.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251 MB, free: 13.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 443.4 MB / 0.7321 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.89 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.149, allocations: 160.8 MB / 1.218 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.005179/1.154, allocations: 2.19 MB / 1.221 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005984/1.16, allocations: 2.685 MB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/1.161, allocations: 2.312 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/1.163, allocations: 0.5435 MB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007012/1.164, allocations: 115.7 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/1.165, allocations: 254.3 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000852/1.166, allocations: 375.5 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/1.166, allocations: 25.03 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/1.166, allocations: 136.4 kB / 1.225 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/1.167, allocations: 157.7 kB / 1.225 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/1.167, allocations: 8.719 kB / 1.225 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/1.167, allocations: 75.78 kB / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/1.167, allocations: 131.3 kB / 1.225 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000355/1.168, allocations: 234.6 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/1.169, allocations: 0.7185 MB / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.169, allocations: 0 / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.714e-06/1.169, allocations: 1.094 kB / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.039e-05/1.169, allocations: 0 / 1.226 GB, free: 14.11 MB / 0.9356 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.002046/1.171, allocations: 0.933 MB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.171, allocations: 14.06 kB / 1.227 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/1.171, allocations: 71.44 kB / 1.227 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006825/1.172, allocations: 462.3 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/1.172, allocations: 2.875 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/1.172, allocations: 11.72 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/1.172, allocations: 101.4 kB / 1.227 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.172, allocations: 0 / 1.227 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/1.172, allocations: 5.438 kB / 1.227 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.172, allocations: 1.219 kB / 1.227 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/1.172, allocations: 39.03 kB / 1.228 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000925/1.173, allocations: 0.5298 MB / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/1.174, allocations: 100.2 kB / 1.228 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/1.174, allocations: 31 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/1.174, allocations: 1.156 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/1.174, allocations: 82.59 kB / 1.228 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/1.174, allocations: 3.938 kB / 1.228 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004828/1.175, allocations: 205 kB / 1.228 GB, free: 12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/1.175, allocations: 105.3 kB / 1.229 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/1.176, allocations: 0.9182 MB / 1.229 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/1.176, allocations: 26.92 kB / 1.229 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/1.176, allocations: 322.4 kB / 1.23 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/1.176, allocations: 14.5 kB / 1.23 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/1.176, allocations: 25.83 kB / 1.23 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.177, allocations: 316.5 kB / 1.23 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/1.177, allocations: 34.2 kB / 1.23 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/1.177, allocations: 77.86 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/1.177, allocations: 65.48 kB / 1.23 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.177, allocations: 0 / 1.23 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003092/1.177, allocations: 173.6 kB / 1.23 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.177, allocations: 8.594 kB / 1.23 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.177, allocations: 5.156 kB / 1.23 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.177, allocations: 1.031 kB / 1.23 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/1.177, allocations: 11.84 kB / 1.23 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.177, allocations: 5.422 kB / 1.23 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/1.178, allocations: 15.89 kB / 1.23 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/1.178, allocations: 1.469 kB / 1.23 GB, free: 10.48 MB / 0.9356 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.0003858/1.178, allocations: 336.7 kB / 1.231 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.178, allocations: 71.41 kB / 1.231 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/1.178, allocations: 187.5 kB / 1.231 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/1.178, allocations: 1.094 kB / 1.231 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.178, allocations: 0 / 1.231 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.178, allocations: 5.125 kB / 1.231 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/1.179, allocations: 390 kB / 1.231 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.179, allocations: 0 / 1.231 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/1.179, allocations: 8.047 kB / 1.231 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/1.179, allocations: 3.984 kB / 1.231 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/1.179, allocations: 3.984 kB / 1.231 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.179, allocations: 8 kB / 1.231 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.179, allocations: 3.938 kB / 1.231 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/1.179, allocations: 200.6 kB / 1.232 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/1.18, allocations: 136.6 kB / 1.232 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/1.18, allocations: 4 kB / 1.232 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/1.18, allocations: 7.984 kB / 1.232 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/1.18, allocations: 7.984 kB / 1.232 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/1.18, allocations: 11.94 kB / 1.232 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009114/1.181, allocations: 0.6785 MB / 1.232 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.181, allocations: 0 / 1.232 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003302/1.181, allocations: 59.94 kB / 1.233 GB, free: 8.516 MB / 0.9356 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 (7): * Single equations (assignments): 5 * 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.001626/1.183, allocations: 437 kB / 1.233 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002508/1.183, allocations: 63.91 kB / 1.233 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.183, allocations: 8 kB / 1.233 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/1.183, allocations: 40.12 kB / 1.233 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/1.184, allocations: 173.5 kB / 1.233 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/1.186, allocations: 1.155 MB / 1.234 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/1.186, allocations: 0.9902 MB / 1.235 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001726/1.187, allocations: 46.95 kB / 1.235 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/1.187, allocations: 27.44 kB / 1.235 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of SimCode: time 1.232e-06/1.187, allocations: 0 / 1.235 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of Templates: time 0.01466/1.201, allocations: 6.13 MB / 1.241 GB, free: 15.69 MB / 0.9513 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.463633432984352]