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.001765/0.001765, allocations: 105.5 kB / 16.45 MB, free: 6.453 MB / 14.72 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.001763/0.001763, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.539/1.539, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 0.49 GB / 0.7915 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",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.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 74.92 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4303, allocations: 176.1 MB / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002357/0.4326, allocations: 0.7575 MB / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002917/0.4329, allocations: 51.83 kB / 1.322 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.433, allocations: 0 / 1.322 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.4332, allocations: 27.8 kB / 1.322 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.4332, allocations: 11.92 kB / 1.322 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.4334, allocations: 23.97 kB / 1.322 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.4336, allocations: 119.7 kB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.4339, allocations: 132.5 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.434, allocations: 67.8 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.4341, allocations: 75.62 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.4341, allocations: 12 kB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.4342, allocations: 12 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.039e-05/0.4343, allocations: 55.86 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.4344, allocations: 91.41 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.4347, allocations: 246.8 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4347, allocations: 0 / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4347, allocations: 0 / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.4347, allocations: 0 / 1.323 GB, free: 1.109 MB / 1.014 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.0006756/0.4354, allocations: 0.4953 MB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4354, allocations: 11.98 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.4355, allocations: 28.75 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.4358, allocations: 259.9 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.4358, allocations: 12.75 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.4359, allocations: 16.38 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006017/0.4365, allocations: 341.1 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.4365, allocations: 7.938 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.4365, allocations: 11.94 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/0.4365, allocations: 11.98 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.437, allocations: 271.8 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.4386, allocations: 1.088 MB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.4387, allocations: 173.1 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.4388, allocations: 84.14 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/0.4388, allocations: 75.28 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.658e-05/0.4389, allocations: 106 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.4389, allocations: 4 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001691/0.4391, allocations: 57.44 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.4392, allocations: 126.7 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/0.4399, allocations: 0.5043 MB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.4399, allocations: 25.7 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.4401, allocations: 171.8 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.4401, allocations: 0 / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/0.4402, allocations: 37.66 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.4405, allocations: 338.8 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.009e-05/0.4405, allocations: 51.95 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.4407, allocations: 102.8 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.4409, allocations: 118.7 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4409, allocations: 0 / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000416/0.4413, allocations: 189.3 kB / 1.327 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.4413, allocations: 8.188 kB / 1.327 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.4413, allocations: 11.98 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.4414, allocations: 0 / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.4415, allocations: 16 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.4415, allocations: 7.984 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.4417, allocations: 35.73 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.4417, allocations: 8 kB / 1.328 GB, free: 12.05 MB / 1.029 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 0.0002588/0.4419, allocations: 253 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.4421, allocations: 132.8 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.4422, allocations: 138.8 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/0.4423, allocations: 176.3 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001062/0.4424, allocations: 184.3 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.372e-05/0.4425, allocations: 184.1 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.4429, allocations: 489.1 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.404e-05/0.443, allocations: 108.9 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.443, allocations: 105 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.4431, allocations: 192.2 kB / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.4432, allocations: 184.2 kB / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.853e-05/0.4433, allocations: 176.3 kB / 1.33 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.705e-05/0.4434, allocations: 184.2 kB / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.4437, allocations: 335.6 kB / 1.33 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.4439, allocations: 213.9 kB / 1.33 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.444, allocations: 184.5 kB / 1.331 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.4442, allocations: 112.9 kB / 1.331 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.4443, allocations: 184.3 kB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.4443, allocations: 104.9 kB / 1.331 GB, free: 8.262 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000437/0.4447, allocations: 367 kB / 1.331 GB, free: 7.906 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4447, allocations: 0 / 1.331 GB, free: 7.906 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002885/0.445, allocations: 24 kB / 1.331 GB, free: 7.883 MB / 1.029 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.0002215/0.4452, allocations: 178.5 kB / 1.332 GB, free: 7.699 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.4454, allocations: 71.89 kB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4454, allocations: 0 / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.4454, allocations: 0 / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.4462, allocations: 485 kB / 1.332 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.4469, allocations: 487.2 kB / 1.333 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.4473, allocations: 0.7749 MB / 1.333 GB, free: 5.844 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.94e-05/0.4474, allocations: 53.52 kB / 1.333 GB, free: 5.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.4475, allocations: 15.44 kB / 1.333 GB, free: 5.777 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4475, allocations: 0 / 1.333 GB, free: 5.777 MB / 1.029 GB Notification: Performance of Templates: time 0.005319/0.4528, allocations: 1.756 MB / 1.335 GB, free: 4.031 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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: 9.424269548151642]