Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.0008917/0.0008917, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002394, allocations: 440 kB / 10.41 MB, free: 284 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.0008108/0.0008108, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.00186, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.044/1.044, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1261/1.17, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.476/2.476, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.245/2.721, 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.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.654e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001524/0.001551, allocations: 0.7871 MB / 0.8197 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.001662, allocations: 67.73 kB / 0.8197 GB, free: 1.656 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.001718, allocations: 4 kB / 0.8197 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.477e-05/0.001783, allocations: 7.938 kB / 0.8198 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.001816, allocations: 7.875 kB / 0.8198 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.757e-05/0.001893, allocations: 15.92 kB / 0.8198 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.002001, allocations: 63.89 kB / 0.8198 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.002159, allocations: 67.56 kB / 0.8199 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.002236, allocations: 59.88 kB / 0.82 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.002309, allocations: 35.91 kB / 0.82 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.002335, allocations: 12 kB / 0.82 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.00235, allocations: 12 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.002394, allocations: 23.94 kB / 0.82 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.002427, allocations: 23.94 kB / 0.8201 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.002548, allocations: 83.62 kB / 0.8201 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.002561, allocations: 0 / 0.8201 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002561, allocations: 0 / 0.8201 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.002573, allocations: 0 / 0.8201 GB, free: 1.238 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0003597/0.002932, allocations: 312.2 kB / 0.8204 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.002966, allocations: 12.03 kB / 0.8204 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.003009, allocations: 16.92 kB / 0.8205 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.003157, allocations: 129.6 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.003177, allocations: 16.38 kB / 0.8206 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.003193, allocations: 12.38 kB / 0.8206 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.003351, allocations: 113.7 kB / 0.8207 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.003359, allocations: 192 / 0.8207 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.00337, allocations: 4.375 kB / 0.8207 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.003376, allocations: 4.375 kB / 0.8207 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.003424, allocations: 35.92 kB / 0.8208 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.0038, allocations: 281.5 kB / 0.821 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.003849, allocations: 22.52 kB / 0.8211 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.171e-05/0.00386, allocations: 16.91 kB / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.003876, allocations: 0 / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.003894, allocations: 34.5 kB / 0.8211 GB, free: 152 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.003895, allocations: 0 / 0.8211 GB, free: 152 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001022/0.003997, allocations: 45.62 kB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.004023, allocations: 51.41 kB / 0.8212 GB, free: 36 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.004116, allocations: 146.5 kB / 0.8213 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.004126, allocations: 25.7 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.004176, allocations: 127.7 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.004182, allocations: 128 / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.004216, allocations: 41.64 kB / 0.8215 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.004295, allocations: 314.8 kB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.004309, allocations: 7.984 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.004322, allocations: 8 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.00436, allocations: 24.83 kB / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004361, allocations: 3.938 kB / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.391e-05/0.004425, allocations: 65.69 kB / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.004439, allocations: 4 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004443, allocations: 0 / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.004452, allocations: 0 / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.004531, allocations: 19.98 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.004534, allocations: 4 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.004553, allocations: 4 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.004561, allocations: 4 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.887e-05/0.00462, allocations: 108.7 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.004636, allocations: 15.91 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.564e-05/0.004722, allocations: 50.11 kB / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.004727, allocations: 4 kB / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.00473, allocations: 4 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.004733, allocations: 4.031 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.004884, allocations: 274.9 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.004886, allocations: 3.938 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.004904, allocations: 11.98 kB / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.00491, allocations: 0 / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.004912, allocations: 4 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-06/0.004916, allocations: 0 / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.004917, allocations: 0 / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.004918, allocations: 0 / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.108e-05/0.004969, allocations: 69.03 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-06/0.004977, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.004988, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.005016, allocations: 4 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.005018, allocations: 0 / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.249e-05/0.00504, allocations: 27.83 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00504, allocations: 0 / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001043/0.005145, allocations: 23.89 kB / 0.8225 GB, free: 14.54 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: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 8.563e-05/0.00523, allocations: 80.41 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.36e-05/0.005294, allocations: 28.81 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.005299, allocations: 4 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.005312, allocations: 8.797 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.005438, allocations: 81.53 kB / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.005675, allocations: 172.4 kB / 0.8229 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.00571, allocations: 63.34 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.478e-05/0.005735, allocations: 7.984 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.00579, allocations: 63.47 kB / 0.823 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.005791, allocations: 0 / 0.823 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of Templates: time 0.002263/0.008054, allocations: 0.772 MB / 0.8238 GB, free: 13.23 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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: 5.192791025154293]