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.001941/0.001941, allocations: 85.48 kB / 19.44 MB, free: 344 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.002072/0.002072, allocations: 177.2 kB / 22.77 MB, free: 1.66 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.628/1.628, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.45/3.45, allocations: 429.5 MB / 0.6729 GB, free: 3.984 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",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.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.699e-06/4.699e-06, allocations: 0 / 0.8775 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.379e-05/4.849e-05, allocations: 3.188 kB / 0.8775 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.003415/0.003463, allocations: 0.7453 MB / 0.8782 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003908/0.003854, allocations: 60.5 kB / 0.8783 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.003928, allocations: 8.703 kB / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.004132, allocations: 14.69 kB / 0.8783 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.004206, allocations: 13.69 kB / 0.8783 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.004436, allocations: 29.56 kB / 0.8784 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.004773, allocations: 127.6 kB / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.00509, allocations: 85.39 kB / 0.8786 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.005307, allocations: 95.8 kB / 0.8787 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.005476, allocations: 65.75 kB / 0.8787 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.005536, allocations: 12 kB / 0.8787 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.619e-05/0.005612, allocations: 12 kB / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.005753, allocations: 59.77 kB / 0.8788 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.005881, allocations: 47.84 kB / 0.8788 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.00633, allocations: 232.4 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.006333, allocations: 0 / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006334, allocations: 1.594 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.006347, allocations: 0 / 0.8791 GB, free: 5 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.001066/0.007413, allocations: 0.5309 MB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.007459, allocations: 12.03 kB / 0.8796 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.007614, allocations: 44.75 kB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.008094, allocations: 187.5 kB / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.008129, allocations: 12.75 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.008182, allocations: 20.31 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008107/0.008992, allocations: 302.1 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.009013, allocations: 4.188 kB / 0.8801 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.009052, allocations: 8.359 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-05/0.009124, allocations: 22.17 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.009688, allocations: 207.8 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.01199, allocations: 1.157 MB / 0.8815 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.01222, allocations: 261.4 kB / 0.8818 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.01232, allocations: 126.9 kB / 0.8819 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.01243, allocations: 127.2 kB / 0.882 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.01256, allocations: 152.6 kB / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.01257, allocations: 3.938 kB / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001562/0.01272, allocations: 37.61 kB / 0.8822 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.01287, allocations: 174.6 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005711/0.01344, allocations: 327.6 kB / 0.8827 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.01347, allocations: 25.7 kB / 0.8827 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.01373, allocations: 234.7 kB / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-06/0.01374, allocations: 0 / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.01384, allocations: 39.36 kB / 0.8829 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004201/0.01426, allocations: 0.5001 MB / 0.8834 GB, free: 324 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.01438, allocations: 43.95 kB / 0.8835 GB, free: 280 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.01457, allocations: 101.7 kB / 0.8836 GB, free: 148 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.01482, allocations: 117.8 kB / 0.8837 GB, free: 0 / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.01483, allocations: 0 / 0.8837 GB, free: 0 / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005573/0.01538, allocations: 161.5 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.01541, allocations: 11.94 kB / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01542, allocations: 0 / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.01544, allocations: 4 kB / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.01561, allocations: 19.98 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.01562, allocations: 4 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.01577, allocations: 23.83 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.01581, allocations: 11.98 kB / 0.8839 GB, free: 15.76 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.0003595/0.01617, allocations: 319.9 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.01635, allocations: 156.8 kB / 0.8844 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.01649, allocations: 157.4 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002142/0.01671, allocations: 276 kB / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001967/0.0169, allocations: 264.1 kB / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002135/0.01712, allocations: 275.9 kB / 0.8853 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007407/0.01786, allocations: 0.5975 MB / 0.8859 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001214/0.01798, allocations: 148.9 kB / 0.886 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.01811, allocations: 152.8 kB / 0.8862 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.01831, allocations: 264.1 kB / 0.8864 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.01852, allocations: 272 kB / 0.8867 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002032/0.01872, allocations: 268.1 kB / 0.8869 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002075/0.01893, allocations: 276 kB / 0.8872 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.01936, allocations: 455.9 kB / 0.8876 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.0195, allocations: 152.8 kB / 0.8878 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.01973, allocations: 272.1 kB / 0.888 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.01997, allocations: 156.8 kB / 0.8882 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.02019, allocations: 264.1 kB / 0.8884 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.02031, allocations: 148.9 kB / 0.8886 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003871/0.02069, allocations: 232.1 kB / 0.8888 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.81e-07/0.02069, allocations: 0 / 0.8888 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000549/0.02124, allocations: 47.72 kB / 0.8888 GB, free: 10.51 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.0002771/0.02152, allocations: 218.4 kB / 0.8891 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.02178, allocations: 63.58 kB / 0.8891 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.02178, allocations: 0 / 0.8891 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.02178, allocations: 4 kB / 0.8891 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.02289, allocations: 0.7218 MB / 0.8898 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.02398, allocations: 455.6 kB / 0.8903 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.02427, allocations: 163.3 kB / 0.8904 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.823e-05/0.02437, allocations: 24.41 kB / 0.8904 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.02443, allocations: 12.5 kB / 0.8904 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/0.02443, allocations: 0 / 0.8904 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of Templates: time 0.0063/0.03073, allocations: 0.981 MB / 0.8914 GB, free: 7.836 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.64307743194513]