Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001073/0.001073, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001125/0.001125, allocations: 161 kB / 24.17 MB, free: 332 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.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.011/2.011, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7601 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.969e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002168/0.002198, allocations: 0.8001 MB / 0.7609 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.002439, allocations: 56.73 kB / 0.761 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.002483, allocations: 4.594 kB / 0.761 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.002624, allocations: 22.67 kB / 0.761 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.002674, allocations: 22.98 kB / 0.761 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.002807, allocations: 18.45 kB / 0.761 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.002981, allocations: 135.7 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.003133, allocations: 86.2 kB / 0.7612 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.003221, allocations: 91.84 kB / 0.7613 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.003444, allocations: 71.81 kB / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.003473, allocations: 12.81 kB / 0.7614 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.003492, allocations: 12 kB / 0.7614 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.00355, allocations: 53.84 kB / 0.7615 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.003596, allocations: 47.84 kB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.003754, allocations: 167.4 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003756, allocations: 0 / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.71e-07/0.003756, allocations: 0 / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.003761, allocations: 0.75 kB / 0.7617 GB, free: 4.945 MB / 0.7136 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.0003724/0.004134, allocations: 396.2 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.004171, allocations: 12.78 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.004223, allocations: 28.91 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.004417, allocations: 170 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.004432, allocations: 16.69 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.004454, allocations: 18.56 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.004694, allocations: 196.5 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.004706, allocations: 4.188 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.004721, allocations: 8.312 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.00475, allocations: 16.12 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.004829, allocations: 74.78 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.005426, allocations: 0.7117 MB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.051e-05/0.005487, allocations: 169.1 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.005511, allocations: 80.14 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.005529, allocations: 75.28 kB / 0.7636 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.005567, allocations: 119 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.005568, allocations: 0 / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.955e-05/0.005627, allocations: 29.7 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.005672, allocations: 131.7 kB / 0.7639 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.005804, allocations: 188.1 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.005812, allocations: 25.7 kB / 0.7641 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.005889, allocations: 170.6 kB / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.005891, allocations: 0 / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.005929, allocations: 33.64 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003162/0.006246, allocations: 326.8 kB / 0.7646 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.006265, allocations: 0 / 0.7646 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/0.006305, allocations: 53.92 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.769e-05/0.006383, allocations: 75.59 kB / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.006385, allocations: 0 / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001249/0.00651, allocations: 75.44 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.006526, allocations: 4 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.006532, allocations: 4.938 kB / 0.7648 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.006544, allocations: 0 / 0.7648 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.006623, allocations: 19.98 kB / 0.7648 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.006629, allocations: 8.5 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.006683, allocations: 23.42 kB / 0.7648 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.006699, allocations: 8 kB / 0.7648 GB, free: 1.527 MB / 0.7136 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.0004726/0.007171, allocations: 199.8 kB / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.007227, allocations: 113 kB / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.007277, allocations: 117.4 kB / 0.7652 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.218e-05/0.007329, allocations: 180.2 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.247e-05/0.007381, allocations: 176.3 kB / 0.7656 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.002e-05/0.007431, allocations: 188.1 kB / 0.7658 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.00762, allocations: 356.1 kB / 0.7661 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/0.007652, allocations: 116.9 kB / 0.7662 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.007695, allocations: 101 kB / 0.7663 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.891e-05/0.007744, allocations: 176.3 kB / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.007795, allocations: 184.2 kB / 0.7666 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.671e-05/0.007842, allocations: 176.3 kB / 0.7668 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-05/0.007888, allocations: 180.2 kB / 0.767 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.008, allocations: 311.8 kB / 0.7673 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.008038, allocations: 121.3 kB / 0.7674 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.008088, allocations: 181.8 kB / 0.7676 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.008147, allocations: 108.9 kB / 0.7677 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.008198, allocations: 180.3 kB / 0.7678 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.008222, allocations: 109 kB / 0.768 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.008275, allocations: 58.33 kB / 0.768 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008275, allocations: 3.938 kB / 0.768 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001679/0.008443, allocations: 42.62 kB / 0.7681 GB, free: 14.05 MB / 0.7292 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.0001319/0.008575, allocations: 147.7 kB / 0.7682 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.729e-05/0.008652, allocations: 24.78 kB / 0.7682 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.008658, allocations: 7.656 kB / 0.7682 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.00866, allocations: 304 / 0.7682 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.008949, allocations: 479.6 kB / 0.7687 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.009336, allocations: 404.1 kB / 0.7691 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.282e-05/0.009388, allocations: 91.3 kB / 0.7692 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.392e-05/0.009422, allocations: 12.48 kB / 0.7692 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.009485, allocations: 67.34 kB / 0.7692 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of SimCode: time 7.81e-07/0.009486, allocations: 0 / 0.7692 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.003134/0.01262, allocations: 1.057 MB / 0.7703 GB, free: 11.78 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.081286073662341]