Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature.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.0007725/0.0007725, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001859, allocations: 440 kB / 10.41 MB, free: 280 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.0007123/0.0007123, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009177/0.00163, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9434/0.9434, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08837/1.032, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.275/2.275, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2566/2.532, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|casTem.TCas",fileNamePrefix="Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature") translateModel(Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|casTem.TCas",fileNamePrefix="Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.599e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature): time 0.001831/0.001847, allocations: 1.784 MB / 0.8207 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.002968, allocations: 1.08 MB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.003012, allocations: 4 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.003427, allocations: 135.3 kB / 0.8219 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.003553, allocations: 115.5 kB / 0.822 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.802e-05/0.003581, allocations: 15.98 kB / 0.822 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.003699, allocations: 119.6 kB / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.079e-05/0.003759, allocations: 19.97 kB / 0.8221 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.00385, allocations: 83.81 kB / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.589e-05/0.003916, allocations: 55.88 kB / 0.8223 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.003932, allocations: 8 kB / 0.8223 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.004278, allocations: 339.2 kB / 0.8226 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.004371, allocations: 87.73 kB / 0.8227 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.004411, allocations: 43.94 kB / 0.8227 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.004716, allocations: 326.9 kB / 0.823 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.004725, allocations: 0 / 0.823 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004725, allocations: 0 / 0.823 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.004735, allocations: 0 / 0.823 GB, free: 14.27 MB / 0.8073 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.0005126/0.005248, allocations: 471.1 kB / 0.8235 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.005276, allocations: 12.03 kB / 0.8235 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006639/0.00594, allocations: 289.6 kB / 0.8238 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.006231, allocations: 268.4 kB / 0.824 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.006238, allocations: 384 / 0.824 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.006249, allocations: 8.375 kB / 0.824 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.006352, allocations: 72.97 kB / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.006357, allocations: 192 / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.006365, allocations: 384 / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.006369, allocations: 3.938 kB / 0.8241 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.0064, allocations: 12 kB / 0.8241 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.006666, allocations: 234.9 kB / 0.8243 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/0.006758, allocations: 92.12 kB / 0.8244 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.00678, allocations: 16.84 kB / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.006793, allocations: 4 kB / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.867e-05/0.006891, allocations: 34.5 kB / 0.8245 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.006892, allocations: 0 / 0.8245 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001269/0.007019, allocations: 57.7 kB / 0.8245 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.007044, allocations: 55.41 kB / 0.8246 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.007227, allocations: 274.7 kB / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.007237, allocations: 29.7 kB / 0.8249 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.007273, allocations: 104 kB / 0.825 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.007291, allocations: 19.83 kB / 0.825 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.007358, allocations: 45.62 kB / 0.825 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.007432, allocations: 330.8 kB / 0.8253 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.00748, allocations: 14.83 kB / 0.8254 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.007543, allocations: 55.88 kB / 0.8254 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.007667, allocations: 109.9 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.007669, allocations: 0 / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001704/0.00784, allocations: 122.5 kB / 0.8256 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.007852, allocations: 10.34 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.007855, allocations: 0 / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.007868, allocations: 8.219 kB / 0.8257 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.008052, allocations: 51.94 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.008057, allocations: 7.938 kB / 0.8257 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.008263, allocations: 67.91 kB / 0.8258 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.008277, allocations: 7.984 kB / 0.8258 GB, free: 11.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.984e-05/0.008337, allocations: 112.7 kB / 0.8259 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.008363, allocations: 19.91 kB / 0.8259 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.789e-05/0.008451, allocations: 62.95 kB / 0.826 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.008454, allocations: 4 kB / 0.826 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.008457, allocations: 3.984 kB / 0.826 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.008459, allocations: 0 / 0.826 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.008574, allocations: 121.8 kB / 0.8261 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.008575, allocations: 0 / 0.8261 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.008619, allocations: 15.98 kB / 0.8261 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.008671, allocations: 43.81 kB / 0.8262 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008673, allocations: 7.938 kB / 0.8262 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.008678, allocations: 0 / 0.8262 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.008679, allocations: 0 / 0.8262 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.00868, allocations: 0 / 0.8262 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.008783, allocations: 202.2 kB / 0.8264 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.008805, allocations: 0 / 0.8264 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.00891, allocations: 31.91 kB / 0.8264 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.008934, allocations: 7.984 kB / 0.8264 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.008937, allocations: 0 / 0.8264 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001048/0.009041, allocations: 117.6 kB / 0.8265 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009041, allocations: 0 / 0.8265 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002169/0.009258, allocations: 95.83 kB / 0.8266 GB, free: 10.31 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001991/0.009457, allocations: 148.3 kB / 0.8267 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.009582, allocations: 60.69 kB / 0.8268 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.009588, allocations: 4 kB / 0.8268 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.009616, allocations: 20.98 kB / 0.8268 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.01004, allocations: 0.8159 MB / 0.8276 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.01113, allocations: 315.7 kB / 0.8279 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.805e-05/0.01118, allocations: 79.83 kB / 0.828 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.082e-05/0.01125, allocations: 33.77 kB / 0.828 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.01141, allocations: 103.3 kB / 0.8281 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.01141, allocations: 0 / 0.8281 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of Templates: time 0.007261/0.01867, allocations: 6.555 MB / 0.8345 GB, free: 2.066 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature.sim & ./Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature/Buildings_latest_Buildings.Fluid.DataCenters.Racks.Liquid.BaseClasses.Examples.CaseTemperature.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8968071192502975]