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.0009091/0.0009091, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009607/0.0009607, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9938/0.9938, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.408/2.408, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 2.134e-06/2.134e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.904e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002127/0.002156, allocations: 0.7417 MB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002893/0.002445, allocations: 55.83 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.0025, allocations: 7.938 kB / 0.8394 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.002659, allocations: 15.86 kB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.002722, allocations: 15.92 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.002891, allocations: 27.89 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.003099, allocations: 127.7 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.003292, allocations: 87.7 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.003408, allocations: 99.78 kB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.003514, allocations: 71.81 kB / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.003555, allocations: 12 kB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.796e-05/0.003583, allocations: 12 kB / 0.8399 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.003661, allocations: 47.84 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.388e-05/0.003745, allocations: 51.83 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.003987, allocations: 167.4 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.00399, allocations: 0 / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.282e-06/0.003991, allocations: 0 / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.003997, allocations: 0 / 0.8401 GB, free: 12.61 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00053/0.004527, allocations: 404.2 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.004569, allocations: 8.031 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.004647, allocations: 32.91 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.004863, allocations: 165.4 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.004882, allocations: 12.75 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.004913, allocations: 20.31 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.005214, allocations: 196.5 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.005227, allocations: 192 / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.00525, allocations: 8.375 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.005288, allocations: 16.12 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.005414, allocations: 71.41 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008177/0.006231, allocations: 0.7179 MB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.006303, allocations: 169.1 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.768e-05/0.006331, allocations: 80.14 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.006356, allocations: 75.28 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.006402, allocations: 117.8 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.006404, allocations: 4 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.011e-05/0.006474, allocations: 29.7 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.006532, allocations: 130.7 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.006857, allocations: 187.9 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.006867, allocations: 29.64 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/0.006963, allocations: 175.9 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.006966, allocations: 0 / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.007031, allocations: 33.64 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.00715, allocations: 322.8 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.007174, allocations: 4 kB / 0.843 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.007232, allocations: 57.91 kB / 0.8431 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.007326, allocations: 64.8 kB / 0.8432 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.007329, allocations: 4 kB / 0.8432 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000174/0.007503, allocations: 77.47 kB / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.007526, allocations: 4 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.007535, allocations: 4 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.007551, allocations: 0 / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.00765, allocations: 20.2 kB / 0.8433 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.007657, allocations: 4 kB / 0.8433 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.007736, allocations: 19.98 kB / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.007754, allocations: 8 kB / 0.8433 GB, free: 9.168 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 0.0001132/0.007867, allocations: 199.8 kB / 0.8435 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.00794, allocations: 113 kB / 0.8436 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.007999, allocations: 113.5 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-05/0.008057, allocations: 184.2 kB / 0.8439 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.307e-05/0.00811, allocations: 180.2 kB / 0.844 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-05/0.008161, allocations: 184.2 kB / 0.8442 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.008403, allocations: 353.3 kB / 0.8446 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.008437, allocations: 113 kB / 0.8447 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.008469, allocations: 108.9 kB / 0.8448 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.875e-05/0.008518, allocations: 176.3 kB / 0.8449 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.008572, allocations: 184.2 kB / 0.8451 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-05/0.008622, allocations: 176.3 kB / 0.8453 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.241e-05/0.008674, allocations: 180.2 kB / 0.8455 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.008803, allocations: 308 kB / 0.8457 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.008851, allocations: 124.9 kB / 0.8459 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.008915, allocations: 180.3 kB / 0.846 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.009007, allocations: 112.9 kB / 0.8461 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.00906, allocations: 180.3 kB / 0.8463 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.009091, allocations: 105 kB / 0.8464 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.47e-05/0.009166, allocations: 65.72 kB / 0.8465 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009166, allocations: 0 / 0.8465 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002788/0.009444, allocations: 35.84 kB / 0.8465 GB, free: 5.684 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 0.0001579/0.009602, allocations: 155.6 kB / 0.8467 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.4e-05/0.009696, allocations: 24.78 kB / 0.8467 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.009703, allocations: 0.6875 kB / 0.8467 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.009704, allocations: 4 kB / 0.8467 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.01008, allocations: 489.3 kB / 0.8472 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.01061, allocations: 400.1 kB / 0.8475 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.977e-05/0.01068, allocations: 91.3 kB / 0.8476 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.334e-05/0.01072, allocations: 12.48 kB / 0.8476 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.0108, allocations: 63.36 kB / 0.8477 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.0108, allocations: 0 / 0.8477 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.0038/0.0146, allocations: 1.063 MB / 0.8487 GB, free: 3.367 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.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.235786339268088]