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.0009618/0.0009618, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009215/0.0009215, allocations: 173 kB / 23.03 MB, free: 1.547 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.9197/0.9197, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.018/2.018, allocations: 429.5 MB / 0.6733 GB, free: 4.031 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 1.784e-06/1.784e-06, allocations: 0 / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.156e-05, allocations: 4.984 kB / 0.8783 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001237/0.001259, allocations: 0.7603 MB / 0.879 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002008/0.00146, allocations: 53.33 kB / 0.879 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.001504, allocations: 7.938 kB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.001644, allocations: 30.28 kB / 0.8791 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.00169, allocations: 12.53 kB / 0.8791 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.001833, allocations: 23.89 kB / 0.8791 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.001988, allocations: 131.6 kB / 0.8792 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.002151, allocations: 76.91 kB / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.002228, allocations: 95.84 kB / 0.8794 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.002294, allocations: 71.81 kB / 0.8795 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.002326, allocations: 15.94 kB / 0.8795 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.002347, allocations: 12 kB / 0.8795 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.002405, allocations: 49.31 kB / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.002455, allocations: 47.84 kB / 0.8796 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.002612, allocations: 167.4 kB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002614, allocations: 0 / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.52e-07/0.002614, allocations: 0.9375 kB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.002619, allocations: 0 / 0.8798 GB, free: 4.707 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.0004279/0.003047, allocations: 0.54 MB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.003079, allocations: 8.031 kB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.003136, allocations: 40.8 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.003305, allocations: 194.3 kB / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.003318, allocations: 12.75 kB / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.003339, allocations: 16.38 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.003603, allocations: 235.2 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.003611, allocations: 192 / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.003627, allocations: 8.375 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.003658, allocations: 16.97 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.003796, allocations: 135.6 kB / 0.8809 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.004467, allocations: 1.079 MB / 0.882 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.004546, allocations: 265.4 kB / 0.8822 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.004578, allocations: 128.6 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.004603, allocations: 123.2 kB / 0.8825 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.004646, allocations: 152.6 kB / 0.8826 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.004647, allocations: 3.938 kB / 0.8826 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.904e-05/0.004706, allocations: 46.73 kB / 0.8827 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.004757, allocations: 174.6 kB / 0.8828 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.004922, allocations: 279 kB / 0.8831 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.004929, allocations: 26.8 kB / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.005026, allocations: 238.7 kB / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.005028, allocations: 0 / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.005064, allocations: 40.02 kB / 0.8834 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002588/0.005323, allocations: 0.5001 MB / 0.8839 GB, free: 288 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.005344, allocations: 8.703 kB / 0.8839 GB, free: 280 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.285e-05/0.005386, allocations: 65.81 kB / 0.8839 GB, free: 184 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.005454, allocations: 90.16 kB / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005456, allocations: 0 / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001621/0.005618, allocations: 95.14 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.00563, allocations: 7.938 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.005636, allocations: 4 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.005648, allocations: 0 / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.005723, allocations: 19.98 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.00573, allocations: 4.625 kB / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.005773, allocations: 21.55 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.005787, allocations: 12 kB / 0.8842 GB, free: 15.9 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 0.0001023/0.005889, allocations: 287.7 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.005941, allocations: 152.8 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.478e-05/0.005996, allocations: 162.2 kB / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.158e-05/0.006057, allocations: 272 kB / 0.885 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.99e-05/0.006117, allocations: 264.8 kB / 0.8853 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-05/0.006178, allocations: 272 kB / 0.8855 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.006409, allocations: 0.5899 MB / 0.8861 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/0.006446, allocations: 156.9 kB / 0.8863 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.006482, allocations: 152.8 kB / 0.8864 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.265e-05/0.006545, allocations: 264.1 kB / 0.8867 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.157e-05/0.006616, allocations: 272 kB / 0.8869 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.647e-05/0.006683, allocations: 268.1 kB / 0.8872 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.859e-05/0.006741, allocations: 264.1 kB / 0.8874 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.006876, allocations: 459.8 kB / 0.8879 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.006922, allocations: 160.8 kB / 0.888 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.006991, allocations: 276 kB / 0.8883 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.007051, allocations: 148.9 kB / 0.8884 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.007115, allocations: 272 kB / 0.8887 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.007148, allocations: 148.9 kB / 0.8888 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.353e-05/0.007242, allocations: 183.1 kB / 0.889 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007242, allocations: 0 / 0.889 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001843/0.007426, allocations: 43.72 kB / 0.889 GB, free: 10.73 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 9.08e-05/0.007517, allocations: 218.4 kB / 0.8892 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.636e-05/0.007613, allocations: 31.56 kB / 0.8893 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.007615, allocations: 448 / 0.8893 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.007617, allocations: 7.984 kB / 0.8893 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.007977, allocations: 0.7179 MB / 0.89 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.008499, allocations: 439.3 kB / 0.8904 GB, free: 9.285 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.404e-05/0.008573, allocations: 99.28 kB / 0.8905 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.968e-05/0.008643, allocations: 16.48 kB / 0.8905 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.008686, allocations: 16.5 kB / 0.8905 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of SimCode: time 1.783e-06/0.008688, allocations: 0 / 0.8905 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of Templates: time 0.003786/0.01247, allocations: 1.043 MB / 0.8915 GB, free: 8.113 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.189262919127941]