Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.0009573/0.0009573, allocations: 80.8 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.001081/0.001081, allocations: 161 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.9884/0.9884, allocations: 177.2 MB / 204.6 MB, free: 5.457 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.887/1.887, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] 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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.82e-05, allocations: 10.25 kB / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001523/0.001551, allocations: 0.759 MB / 0.7608 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002162/0.001767, allocations: 56.47 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.001808, allocations: 8.812 kB / 0.7609 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.001946, allocations: 18.16 kB / 0.7609 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.00199, allocations: 18.53 kB / 0.7609 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.002118, allocations: 24.83 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.002275, allocations: 123 kB / 0.7611 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.002422, allocations: 90.14 kB / 0.7612 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.002502, allocations: 95.84 kB / 0.7613 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.002574, allocations: 73.56 kB / 0.7613 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.002601, allocations: 12 kB / 0.7613 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.002619, allocations: 12 kB / 0.7614 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.002673, allocations: 47.84 kB / 0.7614 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.00272, allocations: 51.83 kB / 0.7614 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.002864, allocations: 172.5 kB / 0.7616 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002865, allocations: 0 / 0.7616 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.02e-07/0.002866, allocations: 1.25 kB / 0.7616 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.00287, allocations: 0 / 0.7616 GB, free: 5.027 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000349/0.003219, allocations: 400.2 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.00325, allocations: 13.19 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.003292, allocations: 24.92 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.003469, allocations: 173.3 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.003481, allocations: 14 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.003501, allocations: 16.38 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.003697, allocations: 200.5 kB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.003705, allocations: 192 / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.003718, allocations: 5.406 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.003743, allocations: 20.11 kB / 0.7624 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.352e-05/0.003817, allocations: 78.91 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.004322, allocations: 0.7106 MB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.421e-05/0.004376, allocations: 170.7 kB / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.004396, allocations: 80.14 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.004414, allocations: 79.22 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.004446, allocations: 113.8 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.01e-07/0.004447, allocations: 5.219 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.041e-05/0.004497, allocations: 33.69 kB / 0.7637 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.004543, allocations: 126.7 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.004663, allocations: 192.7 kB / 0.764 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-06/0.004669, allocations: 26.45 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.004738, allocations: 175.9 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.00474, allocations: 0.75 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.004774, allocations: 29.66 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.00485, allocations: 331.5 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.004863, allocations: 4 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.004901, allocations: 58.8 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.635e-05/0.004967, allocations: 81.03 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.004969, allocations: 3.938 kB / 0.7647 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000102/0.005071, allocations: 76.92 kB / 0.7647 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.005082, allocations: 4 kB / 0.7647 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.005087, allocations: 4 kB / 0.7647 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005098, allocations: 4 kB / 0.7647 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.005159, allocations: 19.92 kB / 0.7648 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.005163, allocations: 7.031 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.005207, allocations: 15.98 kB / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.005218, allocations: 7.938 kB / 0.7648 GB, free: 1.566 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 8.596e-05/0.005304, allocations: 195.9 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.005343, allocations: 109 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.005381, allocations: 113.5 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.091e-05/0.005422, allocations: 184.2 kB / 0.7654 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-05/0.005463, allocations: 181.8 kB / 0.7655 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.165e-05/0.005504, allocations: 184.2 kB / 0.7657 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.005653, allocations: 357.3 kB / 0.766 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/0.005677, allocations: 105 kB / 0.7661 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.005712, allocations: 110.7 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.709e-05/0.005749, allocations: 180.3 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.005791, allocations: 184.2 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-05/0.00583, allocations: 184.2 kB / 0.7668 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.869e-05/0.005869, allocations: 176.3 kB / 0.7669 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.166e-05/0.00596, allocations: 312.6 kB / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.005994, allocations: 124.8 kB / 0.7674 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.006042, allocations: 176.9 kB / 0.7675 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.006098, allocations: 113 kB / 0.7676 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.006139, allocations: 184.9 kB / 0.7678 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.006163, allocations: 105 kB / 0.7679 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.006212, allocations: 54.47 kB / 0.768 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006212, allocations: 1.906 kB / 0.768 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001485/0.00636, allocations: 39.83 kB / 0.768 GB, free: 14.09 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.563e-05/0.006446, allocations: 151.7 kB / 0.7682 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.984e-05/0.006516, allocations: 35.44 kB / 0.7682 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.006519, allocations: 0 / 0.7682 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-06/0.00652, allocations: 4 kB / 0.7682 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.006772, allocations: 483.6 kB / 0.7687 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.007112, allocations: 406.4 kB / 0.769 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.791e-05/0.00716, allocations: 95.28 kB / 0.7691 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.007261, allocations: 8.5 kB / 0.7691 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.007316, allocations: 63.36 kB / 0.7692 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.007317, allocations: 0 / 0.7692 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of Templates: time 0.002598/0.009915, allocations: 1.051 MB / 0.7702 GB, free: 11.82 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.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.96243996405974]