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.001295/0.001295, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001517/0.001517, allocations: 170 kB / 23.27 MB, free: 1.219 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.9349/0.9349, allocations: 177.2 MB / 203.7 MB, free: 5.48 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.321/2.321, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.963e-06/1.963e-06, allocations: 0 / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.659e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001136/0.001152, allocations: 0.7484 MB / 0.8906 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002096/0.001362, allocations: 59.75 kB / 0.8906 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.00141, allocations: 3.938 kB / 0.8906 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.00159, allocations: 19.86 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.001643, allocations: 11.92 kB / 0.8906 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.001774, allocations: 27.97 kB / 0.8907 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.001913, allocations: 127.6 kB / 0.8908 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.002056, allocations: 84.89 kB / 0.8909 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.002129, allocations: 91.8 kB / 0.891 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.002195, allocations: 67.88 kB / 0.891 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.002221, allocations: 12 kB / 0.891 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.002241, allocations: 12 kB / 0.8911 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.002294, allocations: 55.78 kB / 0.8911 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.002338, allocations: 51.83 kB / 0.8912 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.002482, allocations: 171.3 kB / 0.8913 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002483, allocations: 0 / 0.8913 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002484, allocations: 4 kB / 0.8913 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.002487, allocations: 4 kB / 0.8913 GB, free: 8.168 MB / 0.8542 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.00038/0.002867, allocations: 0.5272 MB / 0.8918 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.002901, allocations: 12.02 kB / 0.8919 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.002944, allocations: 36.8 kB / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.003096, allocations: 188.1 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.00311, allocations: 12.75 kB / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.003131, allocations: 20.38 kB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.003337, allocations: 194.2 kB / 0.8923 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.003348, allocations: 4.188 kB / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.003359, allocations: 8.375 kB / 0.8923 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.003393, allocations: 28.05 kB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.003468, allocations: 59.95 kB / 0.8924 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.004089, allocations: 1.009 MB / 0.8934 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.004161, allocations: 261.4 kB / 0.8936 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.004196, allocations: 134.8 kB / 0.8937 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.004222, allocations: 123.2 kB / 0.8939 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.004264, allocations: 152.6 kB / 0.894 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.004265, allocations: 0 / 0.894 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.356e-05/0.004319, allocations: 41.61 kB / 0.894 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.004365, allocations: 174.6 kB / 0.8942 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.004524, allocations: 274.1 kB / 0.8945 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.004532, allocations: 25.7 kB / 0.8945 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.00463, allocations: 242.6 kB / 0.8947 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-06/0.004631, allocations: 0 / 0.8947 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.004667, allocations: 35.31 kB / 0.8948 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.004794, allocations: 0.5078 MB / 0.8953 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.004809, allocations: 11.92 kB / 0.8953 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.004849, allocations: 65.8 kB / 0.8953 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.693e-05/0.004916, allocations: 85.73 kB / 0.8954 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004918, allocations: 0 / 0.8954 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001219/0.00504, allocations: 85.44 kB / 0.8955 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.00505, allocations: 4 kB / 0.8955 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005055, allocations: 8.219 kB / 0.8955 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.005065, allocations: 0 / 0.8955 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.005125, allocations: 19.98 kB / 0.8955 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.00513, allocations: 11.88 kB / 0.8955 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.005171, allocations: 19.95 kB / 0.8956 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.005185, allocations: 15.92 kB / 0.8956 GB, free: 3.531 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.022e-05/0.005275, allocations: 279.8 kB / 0.8958 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.005329, allocations: 152.8 kB / 0.896 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.657e-05/0.005385, allocations: 169.3 kB / 0.8961 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-05/0.005444, allocations: 268.1 kB / 0.8964 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-05/0.005504, allocations: 272 kB / 0.8967 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/0.005562, allocations: 264.1 kB / 0.8969 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.005775, allocations: 0.5395 MB / 0.8974 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.584e-05/0.005811, allocations: 148.8 kB / 0.8976 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.005846, allocations: 144.9 kB / 0.8977 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-05/0.005907, allocations: 272 kB / 0.898 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.005966, allocations: 268.1 kB / 0.8982 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.855e-05/0.006024, allocations: 268.1 kB / 0.8985 GB, free: 432 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.296e-05/0.006087, allocations: 268 kB / 0.8987 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.00623, allocations: 459.8 kB / 0.8992 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.006275, allocations: 152.8 kB / 0.8993 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/0.006374, allocations: 276.3 kB / 0.8996 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.006439, allocations: 156.8 kB / 0.8997 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.006498, allocations: 268.1 kB / 0.9 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.006531, allocations: 148.8 kB / 0.9001 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.392e-05/0.006605, allocations: 180.4 kB / 0.9003 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.006605, allocations: 0 / 0.9003 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001603/0.006766, allocations: 43.78 kB / 0.9004 GB, free: 14.44 MB / 0.8698 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 8.934e-05/0.006855, allocations: 214.4 kB / 0.9006 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.955e-05/0.006925, allocations: 31.61 kB / 0.9006 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006926, allocations: 0 / 0.9006 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.006928, allocations: 4 kB / 0.9006 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.007288, allocations: 0.7334 MB / 0.9013 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.007633, allocations: 446.9 kB / 0.9017 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.199e-05/0.007685, allocations: 95.28 kB / 0.9018 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.007711, allocations: 8.5 kB / 0.9018 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.007768, allocations: 82.19 kB / 0.9019 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/0.007768, allocations: 448 / 0.9019 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.002417/0.01019, allocations: 1.059 MB / 0.9029 GB, free: 11.73 MB / 0.8698 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: 4.99742468399927]