Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001852/0.001852, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002414/0.002414, allocations: 188.9 kB / 22.23 MB, free: 5.133 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.521/1.521, allocations: 225.6 MB / 251 MB, free: 13.03 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.711/2.711, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.89 kB / 1.062 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9819/0.9839, allocations: 160.8 MB / 1.219 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001978/0.9859, allocations: 0.6542 MB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.9861, allocations: 10.59 kB / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.9861, allocations: 0.9375 kB / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.9862, allocations: 3.938 kB / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.068e-05/0.9863, allocations: 4.781 kB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.95e-05/0.9863, allocations: 2.188 kB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.9864, allocations: 34.48 kB / 1.219 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.9866, allocations: 20.83 kB / 1.219 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/0.9866, allocations: 14.38 kB / 1.219 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.798e-05/0.9866, allocations: 15.7 kB / 1.219 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.9867, allocations: 2.531 kB / 1.219 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.9867, allocations: 3.719 kB / 1.219 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.9867, allocations: 11.53 kB / 1.219 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.9868, allocations: 20.66 kB / 1.219 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.9869, allocations: 53.05 kB / 1.219 GB, free: 3.043 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9869, allocations: 0 / 1.219 GB, free: 3.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9869, allocations: 4 kB / 1.219 GB, free: 3.039 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.9869, allocations: 0 / 1.219 GB, free: 3.039 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004648/0.9874, allocations: 353.3 kB / 1.22 GB, free: 2.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.9874, allocations: 9.156 kB / 1.22 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.9874, allocations: 15.52 kB / 1.22 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.9876, allocations: 176.6 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.9876, allocations: 6.531 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.9877, allocations: 6.734 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.9879, allocations: 80.48 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9879, allocations: 4.188 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.9879, allocations: 9.094 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.9879, allocations: 1.156 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.988, allocations: 48 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.9886, allocations: 489.4 kB / 1.22 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.9887, allocations: 165.1 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.9887, allocations: 85.36 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.9888, allocations: 75.28 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.16e-05/0.9888, allocations: 119 kB / 1.221 GB, free: 1.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9888, allocations: 0 / 1.221 GB, free: 1.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.993e-05/0.9889, allocations: 33.53 kB / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.989, allocations: 126.7 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.9892, allocations: 178.8 kB / 1.221 GB, free: 1.098 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.9892, allocations: 25.7 kB / 1.221 GB, free: 1.066 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.9893, allocations: 98.75 kB / 1.221 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.9893, allocations: 5.328 kB / 1.221 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.9894, allocations: 11.78 kB / 1.221 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.9895, allocations: 317.4 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.9895, allocations: 8.609 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.9896, allocations: 8.609 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.367e-05/0.9896, allocations: 21.98 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9896, allocations: 0 / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001343/0.9897, allocations: 51.77 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.9898, allocations: 8.922 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.9898, allocations: 0 / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.9898, allocations: 1.438 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.9898, allocations: 2.656 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.9899, allocations: 7.922 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.9899, allocations: 3.844 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.9899, allocations: 5.312 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001431/0.99, allocations: 203.6 kB / 1.222 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.9901, allocations: 112.6 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.682e-05/0.9902, allocations: 108.1 kB / 1.222 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/0.9903, allocations: 185.7 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.602e-05/0.9904, allocations: 192.1 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.028e-05/0.9905, allocations: 177.7 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.9908, allocations: 421.3 kB / 1.223 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.916e-05/0.9909, allocations: 106.1 kB / 1.223 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.9909, allocations: 105.9 kB / 1.223 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.167e-05/0.991, allocations: 181.3 kB / 1.223 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.022e-05/0.9911, allocations: 181.4 kB / 1.224 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.562e-05/0.9912, allocations: 181.3 kB / 1.224 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-05/0.9913, allocations: 185.4 kB / 1.224 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.9915, allocations: 313.1 kB / 1.224 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.9916, allocations: 189.4 kB / 1.224 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.9917, allocations: 185.3 kB / 1.225 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.9918, allocations: 111.3 kB / 1.225 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.9919, allocations: 185.2 kB / 1.225 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.9919, allocations: 102.3 kB / 1.225 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001239/0.9921, allocations: 131.9 kB / 1.225 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9921, allocations: 0 / 1.225 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002178/0.9923, allocations: 8.844 kB / 1.225 GB, free: 12.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001832/0.9925, allocations: 172.4 kB / 1.225 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.948e-05/0.9926, allocations: 13.83 kB / 1.225 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.9926, allocations: 1.094 kB / 1.225 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.223e-06/0.9926, allocations: 7.938 kB / 1.225 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.9931, allocations: 461.5 kB / 1.226 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.9934, allocations: 216.9 kB / 1.226 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.9938, allocations: 0.6883 MB / 1.227 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.9938, allocations: 13.09 kB / 1.227 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.9939, allocations: 10.03 kB / 1.227 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.9939, allocations: 0 / 1.227 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of Templates: time 0.003106/0.997, allocations: 486.9 kB / 1.227 GB, free: 11.11 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.122135564684868]