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.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.00164/0.00164, allocations: 110 kB / 18.93 MB, free: 2.945 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.001599/0.001599, allocations: 192.3 kB / 22.23 MB, free: 5.16 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.529/1.529, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.297/3.297, allocations: 496 MB / 0.7835 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002074/0.002074, allocations: 66.08 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4782, allocations: 173.6 MB / 1.307 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004312/0.4825, allocations: 2.186 MB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004251/0.4868, allocations: 2.698 MB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.487, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.4887, allocations: 0.5444 MB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.489, allocations: 123.4 kB / 1.313 GB, free: 12.17 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.4898, allocations: 234.9 kB / 1.313 GB, free: 11.94 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.4904, allocations: 370.3 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.4906, allocations: 33.2 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.4907, allocations: 131.4 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.491, allocations: 155.2 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.491, allocations: 12 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.4912, allocations: 75.94 kB / 1.314 GB, free: 11.17 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.4914, allocations: 131.5 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.4917, allocations: 238.3 kB / 1.314 GB, free: 10.81 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.4927, allocations: 0.7118 MB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.4927, allocations: 3.938 kB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4927, allocations: 0 / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.4927, allocations: 0 / 1.315 GB, free: 10.09 MB / 1.014 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.001722/0.4944, allocations: 0.8585 MB / 1.316 GB, free: 9.191 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4944, allocations: 8.031 kB / 1.316 GB, free: 9.184 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.4946, allocations: 80.42 kB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.4952, allocations: 391 kB / 1.316 GB, free: 8.695 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.4952, allocations: 8.375 kB / 1.316 GB, free: 8.688 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.4952, allocations: 8.125 kB / 1.316 GB, free: 8.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.4955, allocations: 100.2 kB / 1.316 GB, free: 8.566 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4955, allocations: 0 / 1.316 GB, free: 8.566 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.4955, allocations: 8 kB / 1.316 GB, free: 8.559 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4955, allocations: 0 / 1.316 GB, free: 8.559 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.4956, allocations: 43.97 kB / 1.316 GB, free: 8.516 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008856/0.4965, allocations: 0.4917 MB / 1.317 GB, free: 7.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.4969, allocations: 102.6 kB / 1.317 GB, free: 7.871 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.497, allocations: 32.84 kB / 1.317 GB, free: 7.836 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.4971, allocations: 4 kB / 1.317 GB, free: 7.832 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.4973, allocations: 91.36 kB / 1.317 GB, free: 7.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.4973, allocations: 0 / 1.317 GB, free: 7.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.000483/0.4978, allocations: 193.2 kB / 1.317 GB, free: 7.535 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.4978, allocations: 106.8 kB / 1.317 GB, free: 7.406 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.499, allocations: 0.9227 MB / 1.318 GB, free: 6.477 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.4991, allocations: 29.7 kB / 1.318 GB, free: 6.441 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.4994, allocations: 312.1 kB / 1.318 GB, free: 6.133 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.4995, allocations: 23.83 kB / 1.318 GB, free: 6.109 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.4995, allocations: 25.72 kB / 1.318 GB, free: 6.078 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.4997, allocations: 313.9 kB / 1.319 GB, free: 5.766 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.4998, allocations: 31.97 kB / 1.319 GB, free: 5.734 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.4999, allocations: 84.16 kB / 1.319 GB, free: 5.637 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.5001, allocations: 69.69 kB / 1.319 GB, free: 5.562 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5001, allocations: 3.938 kB / 1.319 GB, free: 5.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003005/0.5004, allocations: 169.1 kB / 1.319 GB, free: 5.387 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5004, allocations: 4 kB / 1.319 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5004, allocations: 0 / 1.319 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.5004, allocations: 8.031 kB / 1.319 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.5005, allocations: 15.98 kB / 1.319 GB, free: 5.359 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5005, allocations: 0 / 1.319 GB, free: 5.359 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.5006, allocations: 15.88 kB / 1.319 GB, free: 5.344 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.5006, allocations: 4.047 kB / 1.319 GB, free: 5.34 MB / 1.014 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.0004197/0.5011, allocations: 326.5 kB / 1.319 GB, free: 5.012 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.5011, allocations: 71.53 kB / 1.32 GB, free: 4.941 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.5015, allocations: 188.4 kB / 1.32 GB, free: 4.746 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5015, allocations: 4 kB / 1.32 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5015, allocations: 4 kB / 1.32 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.5016, allocations: 3.938 kB / 1.32 GB, free: 4.734 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.502, allocations: 360.5 kB / 1.32 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.502, allocations: 0 / 1.32 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.502, allocations: 11.98 kB / 1.32 GB, free: 4.328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.502, allocations: 3.938 kB / 1.32 GB, free: 4.324 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.5021, allocations: 4 kB / 1.32 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5021, allocations: 0 / 1.32 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5021, allocations: 4 kB / 1.32 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.5024, allocations: 200.6 kB / 1.32 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.5025, allocations: 67.53 kB / 1.32 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.5026, allocations: 7.984 kB / 1.32 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5027, allocations: 4 kB / 1.32 GB, free: 4.023 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.5028, allocations: 7.984 kB / 1.32 GB, free: 4.016 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.5028, allocations: 7.938 kB / 1.32 GB, free: 4.008 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008675/0.5037, allocations: 0.6785 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.5037, allocations: 4 kB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000345/0.504, allocations: 59.94 kB / 1.321 GB, free: 3.27 MB / 1.014 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.001752/0.5057, allocations: 436.9 kB / 1.322 GB, free: 2.996 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.506, allocations: 67.95 kB / 1.322 GB, free: 2.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.506, allocations: 0 / 1.322 GB, free: 2.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.5061, allocations: 35.92 kB / 1.322 GB, free: 2.895 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000728/0.5068, allocations: 173.5 kB / 1.322 GB, free: 2.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.5088, allocations: 1.147 MB / 1.323 GB, free: 1.551 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/0.5097, allocations: 0.9902 MB / 1.324 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.5098, allocations: 51.25 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.5099, allocations: 23.44 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.5099, allocations: 0 / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of Templates: time 0.01385/0.5237, allocations: 6.141 MB / 1.33 GB, free: 10.44 MB / 1.029 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.923586296848953]