Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001432, allocations: 107 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 71.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9199/0.9215, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001995/0.9235, allocations: 0.7433 MB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002557/0.9238, allocations: 51.83 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.9239, allocations: 8 kB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.9241, allocations: 15.86 kB / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.9241, allocations: 11.92 kB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.9244, allocations: 22.52 kB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.9246, allocations: 127.6 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.9249, allocations: 153.1 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.925, allocations: 71.78 kB / 1.169 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.9251, allocations: 79.62 kB / 1.169 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.9251, allocations: 12 kB / 1.169 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-05/0.9251, allocations: 20 kB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.9252, allocations: 47.86 kB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.9253, allocations: 83.42 kB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.9255, allocations: 231.1 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9256, allocations: 0 / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9256, allocations: 0 / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.9256, allocations: 0 / 1.169 GB, free: 2.156 MB / 0.8887 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.0005743/0.9262, allocations: 0.4929 MB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.9262, allocations: 8.922 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.9263, allocations: 28.66 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.9266, allocations: 263.8 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.9266, allocations: 12.75 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.9267, allocations: 16.38 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.9271, allocations: 341.2 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.9271, allocations: 3.938 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.9272, allocations: 8 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.9272, allocations: 15.98 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.9276, allocations: 269.3 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.929, allocations: 1.08 MB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.9291, allocations: 165.1 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.9291, allocations: 92.17 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.9291, allocations: 79.22 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.9292, allocations: 109.8 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9292, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.906e-05/0.9293, allocations: 59.89 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.9293, allocations: 126.7 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/0.9299, allocations: 0.4965 MB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.9299, allocations: 29.64 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.93, allocations: 167.8 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/0.93, allocations: 0 / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.9301, allocations: 29.7 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.9302, allocations: 342.8 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.9303, allocations: 43.95 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.527e-05/0.9304, allocations: 97.92 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.9305, allocations: 105.9 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9305, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002938/0.9308, allocations: 185.1 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.9309, allocations: 8 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.9309, allocations: 3.938 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.9309, allocations: 4.219 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.931, allocations: 27.92 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.931, allocations: 0 / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.9311, allocations: 39.59 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.9312, allocations: 11.98 kB / 1.174 GB, free: 13.17 MB / 0.9044 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.0001639/0.9313, allocations: 245 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.9314, allocations: 128.7 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.9315, allocations: 134.8 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.02e-05/0.9316, allocations: 184.2 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.888e-05/0.9317, allocations: 184.2 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001419/0.9318, allocations: 180.2 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.9321, allocations: 493.1 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/0.9322, allocations: 101 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.9322, allocations: 108.9 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.9324, allocations: 180.3 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.9324, allocations: 184.1 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001643/0.9326, allocations: 184.2 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.684e-05/0.9327, allocations: 184.4 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.9328, allocations: 323.5 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.9331, allocations: 217.7 kB / 1.176 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.9332, allocations: 184.2 kB / 1.177 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.9333, allocations: 113 kB / 1.177 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.9334, allocations: 184.2 kB / 1.177 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.9334, allocations: 105.3 kB / 1.177 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003482/0.9338, allocations: 363 kB / 1.177 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9338, allocations: 0 / 1.177 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002686/0.934, allocations: 24 kB / 1.177 GB, free: 9.016 MB / 0.9044 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.0001467/0.9342, allocations: 178.5 kB / 1.178 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.9343, allocations: 68.2 kB / 1.178 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9343, allocations: 4.062 kB / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.9344, allocations: 3.938 kB / 1.178 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.9349, allocations: 484.8 kB / 1.178 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.9355, allocations: 0.4893 MB / 1.179 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.9359, allocations: 0.7749 MB / 1.179 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.936, allocations: 19.44 kB / 1.179 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.936, allocations: 0 / 1.179 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of Templates: time 0.004638/0.9406, allocations: 2.643 MB / 1.182 GB, free: 4.297 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches