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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 197.9 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 68.62 kB / 0.8991 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3723, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004646/0.377, allocations: 2.213 MB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003978/0.381, allocations: 2.613 MB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.3813, allocations: 4 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.3832, allocations: 0.541 MB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.3837, allocations: 103.5 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007478/0.3844, allocations: 206.5 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005863/0.385, allocations: 358.2 kB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.3852, allocations: 81.05 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.3855, allocations: 119.3 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.3858, allocations: 151.2 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.3858, allocations: 4 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.386, allocations: 55.92 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.3863, allocations: 127.4 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.3865, allocations: 226.4 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.3872, allocations: 0.5651 MB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3872, allocations: 8 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3872, allocations: 0 / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.212e-05/0.3872, allocations: 0 / 1.06 GB, free: 0.9219 MB / 0.8106 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.001742/0.389, allocations: 0.8952 MB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.389, allocations: 12.03 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.3892, allocations: 72 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.3899, allocations: 456 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.39, allocations: 4.375 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.39, allocations: 12.12 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.3902, allocations: 104.1 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3903, allocations: 0 / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.3903, allocations: 4 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3903, allocations: 0 / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3904, allocations: 39.92 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.3915, allocations: 0.5278 MB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.3919, allocations: 98.73 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.764e-05/0.392, allocations: 40.78 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.392, allocations: 3.984 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.3923, allocations: 87.38 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3923, allocations: 0 / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004839/0.3928, allocations: 188.8 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.3928, allocations: 110.8 kB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.3941, allocations: 0.9188 MB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3941, allocations: 25.7 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.3944, allocations: 316 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.3945, allocations: 19.75 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.3946, allocations: 33.7 kB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3947, allocations: 309.9 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/0.3948, allocations: 27.98 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3949, allocations: 72.27 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3951, allocations: 81.92 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3951, allocations: 0 / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003402/0.3955, allocations: 164.8 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3955, allocations: 8 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3955, allocations: 0 / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3955, allocations: 0 / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.3956, allocations: 19.92 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3957, allocations: 3.938 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.3958, allocations: 16.03 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3958, allocations: 4 kB / 1.064 GB, free: 12.01 MB / 0.8262 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.0003707/0.3962, allocations: 325.6 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.3963, allocations: 67.16 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.3964, allocations: 82.41 kB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3965, allocations: 0 / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3965, allocations: 0 / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3965, allocations: 3.984 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.3969, allocations: 393.4 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3969, allocations: 4 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.397, allocations: 4 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.397, allocations: 4 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.397, allocations: 11.98 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.397, allocations: 0 / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.397, allocations: 3.938 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.3974, allocations: 196.2 kB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.3975, allocations: 140.2 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.3976, allocations: 0 / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3977, allocations: 7.984 kB / 1.066 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.3978, allocations: 15.98 kB / 1.066 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.3978, allocations: 7.938 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009026/0.3988, allocations: 0.6785 MB / 1.066 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3988, allocations: 0 / 1.066 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003392/0.3991, allocations: 63.91 kB / 1.066 GB, free: 9.93 MB / 0.8262 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.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * 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.001142/0.4003, allocations: 427.4 kB / 1.067 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.4005, allocations: 75.89 kB / 1.067 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4005, allocations: 0 / 1.067 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.4006, allocations: 39.92 kB / 1.067 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.4014, allocations: 155.2 kB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.4035, allocations: 1.311 MB / 1.068 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.4042, allocations: 0.9943 MB / 1.069 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.4042, allocations: 31.42 kB / 1.069 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of SimCode: time 9.31e-07/0.4043, allocations: 0 / 1.069 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of Templates: time 0.01279/0.4171, allocations: 7.118 MB / 1.076 GB, free: 15.96 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) 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) Reference file matches