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.001531/0.001531, allocations: 92.22 kB / 19.65 MB, free: 276 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.001919/0.001919, allocations: 169 kB / 23.02 MB, free: 1.551 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.144/1.144, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.111/2.111, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.913e-06/1.913e-06, allocations: 0 / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.593e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001338/0.001364, allocations: 0.7605 MB / 0.879 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.001603, allocations: 52.58 kB / 0.879 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.001653, allocations: 7.938 kB / 0.879 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.001817, allocations: 22.59 kB / 0.8791 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.001866, allocations: 10.75 kB / 0.8791 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.00202, allocations: 27.94 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.002197, allocations: 127.6 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.002386, allocations: 80.89 kB / 0.8793 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.002479, allocations: 95.8 kB / 0.8794 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.002554, allocations: 67.88 kB / 0.8795 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.002584, allocations: 12 kB / 0.8795 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.313e-05/0.002607, allocations: 12 kB / 0.8795 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.002676, allocations: 59.77 kB / 0.8795 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.002733, allocations: 47.84 kB / 0.8796 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.002924, allocations: 172.2 kB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.002926, allocations: 0 / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002927, allocations: 1.062 kB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.002932, 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.0004448/0.003377, allocations: 0.5361 MB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.003414, allocations: 8.031 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.003471, allocations: 36.8 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.003665, allocations: 194.2 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.003678, allocations: 12.75 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.003701, allocations: 20.38 kB / 0.8805 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.003978, allocations: 243.1 kB / 0.8808 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.003988, allocations: 192 / 0.8808 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.004004, allocations: 4.375 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.004034, allocations: 16.81 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.004179, allocations: 139.9 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/0.004925, allocations: 1.072 MB / 0.882 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.143e-05/0.005017, allocations: 265.4 kB / 0.8822 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.005051, allocations: 126.9 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.005076, allocations: 119.2 kB / 0.8825 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.005119, allocations: 157.2 kB / 0.8826 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.00512, allocations: 1.375 kB / 0.8826 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.472e-05/0.005184, allocations: 49.53 kB / 0.8827 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.005234, allocations: 170.6 kB / 0.8828 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.005408, allocations: 283 kB / 0.8831 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.005417, allocations: 26.39 kB / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.005671, allocations: 239.3 kB / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.005674, allocations: 0 / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.005715, allocations: 36.64 kB / 0.8834 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.005829, allocations: 0.5001 MB / 0.8839 GB, free: 292 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.005851, allocations: 4 kB / 0.8839 GB, free: 288 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.56e-05/0.005896, allocations: 73.78 kB / 0.8839 GB, free: 184 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.42e-05/0.005971, allocations: 90.42 kB / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005973, allocations: 0 / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001723/0.006145, allocations: 89.45 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.006159, allocations: 4.969 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.006165, allocations: 4 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.006181, allocations: 0.5938 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.006262, allocations: 23.92 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.006268, allocations: 4.219 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.006316, allocations: 31.88 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.006331, allocations: 12 kB / 0.8842 GB, free: 15.89 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.861e-05/0.006429, allocations: 279.7 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.006487, allocations: 160.8 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.006544, allocations: 157.4 kB / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.852e-05/0.006602, allocations: 268 kB / 0.885 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.751e-05/0.00667, allocations: 272.1 kB / 0.8853 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.189e-05/0.006731, allocations: 272 kB / 0.8855 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.006958, allocations: 0.5857 MB / 0.8861 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.006994, allocations: 152.9 kB / 0.8862 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.007027, allocations: 156.8 kB / 0.8864 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.957e-05/0.007087, allocations: 268.1 kB / 0.8867 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/0.007146, allocations: 264.1 kB / 0.8869 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-05/0.007207, allocations: 272 kB / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.614e-05/0.007263, allocations: 264.1 kB / 0.8874 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.007392, allocations: 463.8 kB / 0.8879 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.007432, allocations: 152.8 kB / 0.888 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.007496, allocations: 272 kB / 0.8883 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.007557, allocations: 152.9 kB / 0.8884 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.007621, allocations: 268 kB / 0.8887 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.007655, allocations: 152.9 kB / 0.8888 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.097e-05/0.007746, allocations: 183.1 kB / 0.889 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007746, allocations: 0 / 0.889 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001746/0.00792, allocations: 47.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.38e-05/0.008014, allocations: 214.4 kB / 0.8892 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.008103, allocations: 27.61 kB / 0.8893 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008105, allocations: 0 / 0.8893 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.008107, allocations: 4.375 kB / 0.8893 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.008486, allocations: 0.7257 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.0003918/0.008877, allocations: 443.3 kB / 0.8904 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.009117, allocations: 95.3 kB / 0.8905 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.009157, allocations: 20.47 kB / 0.8905 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.009187, allocations: 12.5 kB / 0.8905 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.009188, allocations: 0 / 0.8905 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of Templates: time 0.002614/0.0118, allocations: 0.9884 MB / 0.8915 GB, free: 8.172 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.739910832140595]