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.001114/0.001114, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001388/0.001388, allocations: 177.3 kB / 23.49 MB, free: 1.059 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 1.077/1.077, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.227/2.227, allocations: 429.5 MB / 0.6736 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.735e-06/2.735e-06, allocations: 0 / 0.8783 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.365e-05, allocations: 4.984 kB / 0.8783 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00156/0.001594, allocations: 0.7579 MB / 0.879 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002325/0.001826, allocations: 56.56 kB / 0.8791 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.001876, allocations: 7.938 kB / 0.8791 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.002028, allocations: 18.52 kB / 0.8791 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.002076, allocations: 16.92 kB / 0.8791 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.002232, allocations: 25.09 kB / 0.8791 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.002401, allocations: 123.7 kB / 0.8792 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.002582, allocations: 86.36 kB / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.221e-05/0.002664, allocations: 95.8 kB / 0.8794 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.002738, allocations: 75.8 kB / 0.8795 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.00277, allocations: 12 kB / 0.8795 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.002788, allocations: 9.156 kB / 0.8795 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.002853, allocations: 51.84 kB / 0.8796 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.002915, allocations: 47.84 kB / 0.8796 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.003098, allocations: 170.8 kB / 0.8798 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.003101, allocations: 0 / 0.8798 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/0.003102, allocations: 0 / 0.8798 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.003109, allocations: 0 / 0.8798 GB, free: 5.051 MB / 0.8386 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.0004844/0.003593, allocations: 0.5389 MB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.003635, allocations: 8.031 kB / 0.8803 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.003702, allocations: 36.8 kB / 0.8803 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.003899, allocations: 192.9 kB / 0.8805 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.003915, allocations: 21.33 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.003936, allocations: 16.38 kB / 0.8805 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.004231, allocations: 231.7 kB / 0.8808 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.00424, allocations: 192 / 0.8808 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.004258, allocations: 8.359 kB / 0.8808 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.004295, allocations: 24.12 kB / 0.8808 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.004445, allocations: 138.8 kB / 0.8809 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007775/0.005223, allocations: 1.071 MB / 0.882 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.89e-05/0.005311, allocations: 269.4 kB / 0.8822 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.005349, allocations: 126.9 kB / 0.8824 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.005377, allocations: 127.1 kB / 0.8825 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.005423, allocations: 156.6 kB / 0.8826 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.005425, allocations: 0 / 0.8826 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.552e-05/0.0055, allocations: 41.61 kB / 0.8827 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.005557, allocations: 170.6 kB / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.005757, allocations: 280.5 kB / 0.8831 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.005767, allocations: 25.7 kB / 0.8831 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.005877, allocations: 242.6 kB / 0.8834 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.005879, allocations: 0 / 0.8834 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.005923, allocations: 35.36 kB / 0.8834 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003962/0.006319, allocations: 0.504 MB / 0.8839 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.006346, allocations: 8 kB / 0.8839 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/0.006396, allocations: 73.73 kB / 0.884 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.006476, allocations: 81.78 kB / 0.884 GB, free: 412 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.006479, allocations: 0 / 0.884 GB, free: 412 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001749/0.006654, allocations: 97.41 kB / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.006669, allocations: 7.984 kB / 0.8841 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.006676, allocations: 4 kB / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.00669, allocations: 0 / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.006778, allocations: 16 kB / 0.8842 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.006787, allocations: 7.984 kB / 0.8842 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.006838, allocations: 19.89 kB / 0.8842 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.006852, allocations: 8 kB / 0.8842 GB, free: 244 kB / 0.8386 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.0001232/0.006975, allocations: 287.9 kB / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.00703, allocations: 156.8 kB / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.007092, allocations: 161.3 kB / 0.8848 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.745e-05/0.00715, allocations: 268.1 kB / 0.885 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.536e-05/0.007205, allocations: 268.1 kB / 0.8853 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-05/0.007262, allocations: 272 kB / 0.8855 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.007522, allocations: 0.5858 MB / 0.8861 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/0.007556, allocations: 152.9 kB / 0.8863 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.00759, allocations: 152.9 kB / 0.8864 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.797e-05/0.007648, allocations: 264.1 kB / 0.8867 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/0.007707, allocations: 276 kB / 0.8869 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.802e-05/0.007765, allocations: 268.1 kB / 0.8872 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.394e-05/0.007829, allocations: 272 kB / 0.8874 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.007977, allocations: 459.8 kB / 0.8879 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.00803, allocations: 152.8 kB / 0.888 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.008107, allocations: 268.1 kB / 0.8883 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.008185, allocations: 160.8 kB / 0.8884 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.008256, allocations: 264.1 kB / 0.8887 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.008292, allocations: 148.8 kB / 0.8888 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000112/0.008404, allocations: 191.2 kB / 0.889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008404, allocations: 3.938 kB / 0.889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002151/0.008619, allocations: 47.72 kB / 0.889 GB, free: 11.06 MB / 0.8542 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.000146/0.008765, allocations: 214.4 kB / 0.8893 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.008881, allocations: 31.61 kB / 0.8893 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.008883, allocations: 0 / 0.8893 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.008885, allocations: 0 / 0.8893 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.009326, allocations: 0.7213 MB / 0.89 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.009817, allocations: 443.7 kB / 0.8904 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.027e-05/0.009878, allocations: 103.3 kB / 0.8905 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.808e-05/0.009926, allocations: 16.48 kB / 0.8905 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.009964, allocations: 16.44 kB / 0.8905 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of SimCode: time 1.413e-06/0.009966, allocations: 0 / 0.8905 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of Templates: time 0.003139/0.0131, allocations: 0.9964 MB / 0.8915 GB, free: 8.492 MB / 0.8542 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.835282641928643]