Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001033/0.001033, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002516, allocations: 435.8 kB / 10.33 MB, free: 368 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.001057/0.001057, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002446, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09216/1.095, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.35/2.35, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2493/2.6, allocations: 145.9 MB / 0.817 GB, free: 4.215 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.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8184 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.295e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001614/0.001627, allocations: 0.7962 MB / 0.8191 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001302/0.001757, allocations: 55.81 kB / 0.8192 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.0018, allocations: 7.938 kB / 0.8192 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.197e-05/0.001882, allocations: 15.86 kB / 0.8192 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.481e-05/0.001926, allocations: 11.92 kB / 0.8192 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.002033, allocations: 34.02 kB / 0.8193 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.0022, allocations: 119.7 kB / 0.8194 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.002365, allocations: 86.2 kB / 0.8195 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.002492, allocations: 116.5 kB / 0.8196 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.002581, allocations: 71.81 kB / 0.8196 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.002618, allocations: 12 kB / 0.8196 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.543e-05/0.002643, allocations: 12 kB / 0.8197 GB, free: 1.508 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.002699, allocations: 35.88 kB / 0.8197 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.002758, allocations: 39.81 kB / 0.8197 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.002947, allocations: 155.5 kB / 0.8199 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.002959, allocations: 0 / 0.8199 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00296, allocations: 0 / 0.8199 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.002979, allocations: 0 / 0.8199 GB, free: 1.281 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005316/0.00351, allocations: 439.9 kB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.003543, allocations: 8.031 kB / 0.8203 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.472e-05/0.003607, allocations: 32.91 kB / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.0038, allocations: 169.4 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.003817, allocations: 12.75 kB / 0.8205 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.003844, allocations: 20.31 kB / 0.8205 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.004062, allocations: 200.8 kB / 0.8207 GB, free: 368 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.004072, allocations: 11.92 kB / 0.8207 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.004085, allocations: 8 kB / 0.8207 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.004106, allocations: 8 kB / 0.8207 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.004182, allocations: 75.09 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.004714, allocations: 0.714 MB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.455e-05/0.004769, allocations: 169.1 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.00479, allocations: 84.14 kB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.00481, allocations: 75.28 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.004844, allocations: 113.8 kB / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.004846, allocations: 0 / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.241e-05/0.004898, allocations: 29.7 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.004947, allocations: 138.9 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.005058, allocations: 190.2 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.005066, allocations: 25.7 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.005132, allocations: 171.9 kB / 0.8225 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.005134, allocations: 0 / 0.8225 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.005168, allocations: 25.66 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.00525, allocations: 326.8 kB / 0.8228 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.005263, allocations: 4 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.005299, allocations: 53.92 kB / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.005355, allocations: 60.77 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005358, allocations: 0 / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.948e-05/0.005457, allocations: 77.48 kB / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.118e-06/0.005466, allocations: 8.219 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.005471, allocations: 4 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.005479, allocations: 0 / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.00555, allocations: 23.98 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.005556, allocations: 11.92 kB / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.0056, allocations: 15.94 kB / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.005612, allocations: 12 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (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 8.196e-05/0.005694, allocations: 191.9 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.005732, allocations: 109 kB / 0.8234 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.005771, allocations: 117.5 kB / 0.8235 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.971e-05/0.00582, allocations: 188.3 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.201e-05/0.005862, allocations: 180.3 kB / 0.8238 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.99e-05/0.005902, allocations: 188.2 kB / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.006055, allocations: 365.3 kB / 0.8243 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/0.00608, allocations: 105 kB / 0.8244 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.006105, allocations: 104.9 kB / 0.8245 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.006139, allocations: 116.8 kB / 0.8247 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-05/0.00618, allocations: 184.2 kB / 0.8248 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.006225, allocations: 180.3 kB / 0.825 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.709e-05/0.006262, allocations: 180.2 kB / 0.8252 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.084e-05/0.006303, allocations: 180.3 kB / 0.8253 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.683e-05/0.0064, allocations: 319.7 kB / 0.8257 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.006449, allocations: 176.3 kB / 0.8258 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.006505, allocations: 112.9 kB / 0.8259 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.006546, allocations: 180.3 kB / 0.8261 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.006568, allocations: 101 kB / 0.8262 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.006611, allocations: 57.8 kB / 0.8263 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006611, allocations: 0 / 0.8263 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001558/0.006767, allocations: 35.89 kB / 0.8263 GB, free: 10.32 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 (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 8.208e-05/0.006849, allocations: 163.5 kB / 0.8264 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.496e-05/0.006914, allocations: 28.78 kB / 0.8265 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.006918, allocations: 4 kB / 0.8265 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.006919, allocations: 0 / 0.8265 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.007173, allocations: 491.8 kB / 0.8269 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.007516, allocations: 412.1 kB / 0.8273 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.007566, allocations: 87.3 kB / 0.8274 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.007597, allocations: 12.48 kB / 0.8274 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.007656, allocations: 63.8 kB / 0.8275 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.007656, allocations: 4 kB / 0.8275 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of Templates: time 0.002561/0.01022, allocations: 1.097 MB / 0.8286 GB, free: 7.938 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.120267235673964]