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.001275/0.001275, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.004475/0.004475, allocations: 165 kB / 24.17 MB, free: 328 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 0.9679/0.9679, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 1.969/1.969, allocations: 377.9 MB / 0.624 GB, free: 8.332 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 1.844e-06/1.844e-06, allocations: 0 / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.847e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001159/0.001178, allocations: 0.7553 MB / 0.7608 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001838/0.001362, allocations: 55.77 kB / 0.7609 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.001399, allocations: 8.812 kB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.001509, allocations: 17.39 kB / 0.7609 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.001547, allocations: 14.19 kB / 0.7609 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.001655, allocations: 29.81 kB / 0.7609 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.001796, allocations: 127.3 kB / 0.7611 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.001921, allocations: 90.19 kB / 0.7611 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.697e-05/0.001998, allocations: 95.8 kB / 0.7612 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.002061, allocations: 68.44 kB / 0.7613 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.002086, allocations: 12 kB / 0.7613 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.684e-05/0.002103, allocations: 12.5 kB / 0.7613 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.002154, allocations: 56.75 kB / 0.7614 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.002197, allocations: 51.83 kB / 0.7614 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.002327, allocations: 164.3 kB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.002328, allocations: 4 kB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002329, allocations: 0 / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.002332, allocations: 1.031 kB / 0.7616 GB, free: 5.02 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.0003222/0.002654, allocations: 400.2 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.002682, allocations: 8.031 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.002721, allocations: 25.61 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.002861, allocations: 175.2 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.002872, allocations: 12.75 kB / 0.7622 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.002892, allocations: 16.38 kB / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.003082, allocations: 200.4 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.00309, allocations: 192 / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.003102, allocations: 5.438 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.003125, allocations: 16.12 kB / 0.7624 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.003441, allocations: 72.78 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.00392, allocations: 0.716 MB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.003973, allocations: 165.1 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.003992, allocations: 84.12 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.004008, allocations: 79.28 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.004038, allocations: 109.8 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.004038, allocations: 0.75 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.368e-05/0.004082, allocations: 33.64 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.004122, allocations: 127.4 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.004226, allocations: 188.1 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.004233, allocations: 26.2 kB / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.004295, allocations: 168 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-06/0.004298, allocations: 14.02 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.00433, allocations: 25.66 kB / 0.7642 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.004396, allocations: 326.8 kB / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.004409, allocations: 4 kB / 0.7645 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.00444, allocations: 49.98 kB / 0.7645 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.004499, allocations: 75.47 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.0045, allocations: 2.344 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.963e-05/0.00459, allocations: 65.55 kB / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.004601, allocations: 8 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.004605, allocations: 2.75 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.004615, allocations: 7.938 kB / 0.7647 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.004669, allocations: 19.98 kB / 0.7647 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.004672, allocations: 4 kB / 0.7647 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.004714, allocations: 19.98 kB / 0.7647 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.004726, allocations: 8 kB / 0.7647 GB, free: 1.605 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 6.77e-05/0.004793, allocations: 199.8 kB / 0.7649 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.004827, allocations: 114.2 kB / 0.765 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.004863, allocations: 113.5 kB / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.955e-05/0.004903, allocations: 184.2 kB / 0.7653 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.434e-05/0.004937, allocations: 181.2 kB / 0.7655 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.434e-05/0.004971, allocations: 176.3 kB / 0.7656 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.005104, allocations: 365.2 kB / 0.766 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.005126, allocations: 105.9 kB / 0.7661 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.005147, allocations: 104.9 kB / 0.7662 GB, free: 12 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.567e-05/0.005193, allocations: 180.8 kB / 0.7664 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.005229, allocations: 183.6 kB / 0.7665 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.712e-05/0.005266, allocations: 176.3 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002552/0.005521, allocations: 180.3 kB / 0.7669 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.23e-05/0.005604, allocations: 315.7 kB / 0.7672 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.005634, allocations: 120.8 kB / 0.7673 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.005675, allocations: 176.3 kB / 0.7675 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.005727, allocations: 109 kB / 0.7676 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.005768, allocations: 192.2 kB / 0.7678 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.005789, allocations: 105 kB / 0.7679 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.251e-05/0.005831, allocations: 53.81 kB / 0.7679 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005831, allocations: 6.5 kB / 0.7679 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001407/0.005972, allocations: 39.78 kB / 0.768 GB, free: 14.13 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 8.046e-05/0.006052, allocations: 151.7 kB / 0.7681 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.804e-05/0.00611, allocations: 29.53 kB / 0.7681 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.006113, allocations: 5.219 kB / 0.7681 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.006114, allocations: 304 / 0.7681 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.006354, allocations: 475.6 kB / 0.7686 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.006668, allocations: 412.9 kB / 0.769 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.14e-05/0.006709, allocations: 87.3 kB / 0.7691 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.437e-05/0.006734, allocations: 16.3 kB / 0.7691 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.006784, allocations: 63.36 kB / 0.7691 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/0.006785, allocations: 0 / 0.7691 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of Templates: time 0.002717/0.009502, allocations: 1.059 MB / 0.7702 GB, free: 11.85 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 -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.088527034968138]