Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 111.9 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.001715/0.001715, allocations: 183 kB / 17.34 MB, free: 5.762 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.449/1.449, 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 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9283/0.9298, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.001904/0.9317, allocations: 0.7468 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002366/0.932, allocations: 55.61 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.932, allocations: 5.219 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.9322, allocations: 14.12 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.9323, allocations: 11.2 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.9324, allocations: 27.48 kB / 1.09 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.9327, allocations: 122.9 kB / 1.09 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.9329, allocations: 151.5 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.933, allocations: 72.34 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.9331, allocations: 76.34 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.9332, allocations: 11.22 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.167e-05/0.9332, allocations: 11.66 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.9333, allocations: 51.38 kB / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/0.9334, allocations: 88.23 kB / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.9337, allocations: 237.4 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9337, allocations: 0 / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9337, allocations: 1.156 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.9337, allocations: 0 / 1.09 GB, free: 4.648 MB / 0.8575 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.0005456/0.9343, allocations: 498.8 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.9343, allocations: 9.859 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.9344, allocations: 27.09 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.9347, allocations: 249.7 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.9347, allocations: 16.69 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.9348, allocations: 16.53 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.9353, allocations: 335.7 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.9354, allocations: 3.938 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.9354, allocations: 10.16 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/0.9354, allocations: 11.89 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.9358, allocations: 264.5 kB / 1.092 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.937, allocations: 1.091 MB / 1.093 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.75e-05/0.9371, allocations: 178.1 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.9371, allocations: 84.92 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.9371, allocations: 76.41 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.9372, allocations: 106.5 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.9372, allocations: 1.25 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.485e-05/0.9373, allocations: 56.3 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.9373, allocations: 130.7 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006276/0.938, allocations: 0.4946 MB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.938, allocations: 26.95 kB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.9381, allocations: 169.5 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.9381, allocations: 0.7812 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.9381, allocations: 29.17 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.9382, allocations: 340.2 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.9383, allocations: 52.56 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.436e-05/0.9384, allocations: 88.67 kB / 1.095 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.9386, allocations: 112.9 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9386, allocations: 0 / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003383/0.9389, allocations: 180.6 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.9389, allocations: 6.797 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.939, allocations: 10.03 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.939, allocations: 2.125 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.9391, allocations: 23.02 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.9391, allocations: 2.531 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.9392, allocations: 35.03 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.9393, allocations: 7.562 kB / 1.095 GB, free: 1.402 MB / 0.8575 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.0001535/0.9394, allocations: 245.8 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.9395, allocations: 132.1 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.9396, allocations: 144.2 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.9396, allocations: 181.4 kB / 1.096 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.85e-05/0.9397, allocations: 182.2 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.42e-05/0.9397, allocations: 178.7 kB / 1.096 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.9401, allocations: 496.7 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-05/0.9401, allocations: 106 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.9402, allocations: 102.8 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.064e-05/0.9403, allocations: 186 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/0.9403, allocations: 182 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.621e-05/0.9404, allocations: 190 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.447e-05/0.9405, allocations: 177.8 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.9406, allocations: 331 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.9408, allocations: 215.1 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.9409, allocations: 186.2 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.941, allocations: 106.9 kB / 1.098 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.9411, allocations: 189.9 kB / 1.098 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.9412, allocations: 103.3 kB / 1.098 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004378/0.9416, allocations: 363.4 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9416, allocations: 0 / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003135/0.9419, allocations: 24.5 kB / 1.099 GB, free: 13.69 MB / 0.8731 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.0001816/0.9421, allocations: 174.1 kB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.9423, allocations: 71.73 kB / 1.099 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9423, allocations: 1.344 kB / 1.099 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.023e-06/0.9423, allocations: 0 / 1.099 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.9429, allocations: 480.1 kB / 1.099 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006702/0.9435, allocations: 0.4941 MB / 1.1 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.944, allocations: 0.7705 MB / 1.101 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.9441, allocations: 23.45 kB / 1.101 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.9441, allocations: 0 / 1.101 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.005953/0.95, allocations: 2.654 MB / 1.103 GB, free: 11.81 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches