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.001043/0.001043, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001212/0.001212, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.026/1.026, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.258/2.258, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.634e-06/2.634e-06, allocations: 0 / 0.8795 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.111e-05, allocations: 3.406 kB / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001466/0.001497, allocations: 0.7539 MB / 0.8802 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.001701, allocations: 60.56 kB / 0.8803 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.001747, allocations: 4.844 kB / 0.8803 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.001894, allocations: 26.03 kB / 0.8803 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.001943, allocations: 16.98 kB / 0.8803 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.002096, allocations: 25.11 kB / 0.8803 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.002249, allocations: 124.7 kB / 0.8804 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.002407, allocations: 80.89 kB / 0.8805 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.002486, allocations: 100.8 kB / 0.8806 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.002566, allocations: 71.81 kB / 0.8807 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.002595, allocations: 12 kB / 0.8807 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.002614, allocations: 13.53 kB / 0.8807 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.002673, allocations: 47.84 kB / 0.8808 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.00272, allocations: 47.84 kB / 0.8808 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.002873, allocations: 167.4 kB / 0.881 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002875, allocations: 1.125 kB / 0.881 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002876, allocations: 0 / 0.881 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.002881, allocations: 0 / 0.881 GB, free: 4.445 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.0004248/0.003306, allocations: 0.5434 MB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.003337, allocations: 8.844 kB / 0.8815 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.00339, allocations: 36.8 kB / 0.8815 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.003557, allocations: 189.1 kB / 0.8817 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.003571, allocations: 16.19 kB / 0.8817 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.003589, allocations: 20.38 kB / 0.8817 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.003797, allocations: 198.1 kB / 0.8819 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.003806, allocations: 192 / 0.8819 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.003819, allocations: 8.375 kB / 0.8819 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.003846, allocations: 20.05 kB / 0.882 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.003923, allocations: 67.95 kB / 0.882 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006475/0.00457, allocations: 1.001 MB / 0.883 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.292e-05/0.004653, allocations: 265.4 kB / 0.8833 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.004685, allocations: 134.8 kB / 0.8834 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.004711, allocations: 119.2 kB / 0.8835 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.004755, allocations: 156.6 kB / 0.8837 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.004755, allocations: 0 / 0.8837 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.14e-05/0.004817, allocations: 41.59 kB / 0.8837 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.004871, allocations: 170.6 kB / 0.8839 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.005073, allocations: 279.7 kB / 0.8841 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.005081, allocations: 25.7 kB / 0.8841 GB, free: 1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.00518, allocations: 234.6 kB / 0.8844 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.005183, allocations: 4 kB / 0.8844 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.005223, allocations: 43.28 kB / 0.8844 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.005332, allocations: 0.5039 MB / 0.8849 GB, free: 200 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.005347, allocations: 7.938 kB / 0.8849 GB, free: 192 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.00539, allocations: 73.78 kB / 0.885 GB, free: 88 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.931e-05/0.005469, allocations: 81.78 kB / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005471, allocations: 4 kB / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001343/0.005606, allocations: 85.41 kB / 0.8851 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.00562, allocations: 8 kB / 0.8852 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005624, allocations: 0 / 0.8852 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.005634, allocations: 7.984 kB / 0.8852 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.005701, allocations: 16 kB / 0.8852 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.005707, allocations: 11.92 kB / 0.8852 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.005756, allocations: 20.17 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.005767, allocations: 11.94 kB / 0.8852 GB, free: 15.81 MB / 0.8542 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 9.026e-05/0.005857, allocations: 283.8 kB / 0.8855 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.005913, allocations: 156.8 kB / 0.8856 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.005961, allocations: 165.3 kB / 0.8858 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.754e-05/0.006009, allocations: 264.1 kB / 0.886 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.458e-05/0.006063, allocations: 272 kB / 0.8863 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.182e-05/0.006115, allocations: 268.1 kB / 0.8866 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.006324, allocations: 0.5277 MB / 0.8871 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.313e-05/0.006357, allocations: 152.9 kB / 0.8872 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.006386, allocations: 152.9 kB / 0.8874 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.548e-05/0.006442, allocations: 272 kB / 0.8876 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.006493, allocations: 264.1 kB / 0.8879 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.819e-05/0.006552, allocations: 272.1 kB / 0.8881 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.826e-05/0.00661, allocations: 268 kB / 0.8884 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.006743, allocations: 459.8 kB / 0.8888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.006786, allocations: 152.8 kB / 0.889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/0.006852, allocations: 268.1 kB / 0.8892 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.006921, allocations: 156.8 kB / 0.8894 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.006985, allocations: 268.1 kB / 0.8896 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.007023, allocations: 148.8 kB / 0.8898 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.158e-05/0.007094, allocations: 183.1 kB / 0.89 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007094, allocations: 0 / 0.89 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001834/0.007278, allocations: 43.78 kB / 0.89 GB, free: 10.72 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.0001205/0.007398, allocations: 218.4 kB / 0.8902 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.007481, allocations: 27.61 kB / 0.8902 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.007483, allocations: 0 / 0.8902 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.007484, allocations: 0 / 0.8902 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.00789, allocations: 0.7328 MB / 0.891 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.00843, allocations: 443.2 kB / 0.8914 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.265e-05/0.008502, allocations: 99.28 kB / 0.8915 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.535e-05/0.008548, allocations: 8.5 kB / 0.8915 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.008632, allocations: 86.19 kB / 0.8916 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of SimCode: time 7.02e-07/0.008632, allocations: 0 / 0.8916 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of Templates: time 0.003955/0.01259, allocations: 1.073 MB / 0.8926 GB, free: 8.008 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.66307033225894]