Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001187, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001292/0.001292, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.14 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.258/2.258, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 63.91 kB / 0.9516 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.749, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.001782/0.7508, allocations: 0.7399 MB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.7511, allocations: 57.08 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.7511, allocations: 6.281 kB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.7513, allocations: 18.02 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.7514, allocations: 18.78 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.7515, allocations: 27.7 kB / 1.09 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.7517, allocations: 114.8 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.752, allocations: 156.1 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.752, allocations: 71.48 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.7521, allocations: 73.55 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.7522, allocations: 11.38 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.867e-05/0.7522, allocations: 11.78 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.7523, allocations: 54.67 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.308e-05/0.7524, allocations: 89.84 kB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.7527, allocations: 236.7 kB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7527, allocations: 0 / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7527, allocations: 0 / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.7527, allocations: 0 / 1.09 GB, free: 4.605 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004697/0.7532, allocations: 0.4897 MB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.7532, allocations: 8.594 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.7533, allocations: 27.91 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.7535, allocations: 256.2 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.7535, allocations: 15.09 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.7535, allocations: 20.62 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.754, allocations: 342.3 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.7541, allocations: 3.938 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.7541, allocations: 5.938 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.7541, allocations: 14.36 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.7545, allocations: 265.9 kB / 1.092 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.7556, allocations: 1.094 MB / 1.093 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/0.7557, allocations: 166.6 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.7557, allocations: 84.17 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.7557, allocations: 80.73 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.7557, allocations: 110.7 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7557, allocations: 0 / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.242e-05/0.7558, allocations: 65.41 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.7559, allocations: 127.6 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.7565, allocations: 0.4929 MB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/0.7565, allocations: 26.3 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.7566, allocations: 174.1 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/0.7566, allocations: 0.7812 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.7566, allocations: 33.48 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.7567, allocations: 340.9 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.7568, allocations: 50.11 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.756e-05/0.7569, allocations: 97.27 kB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.757, allocations: 120.9 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7571, allocations: 0.7188 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003336/0.7574, allocations: 192.1 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.7574, allocations: 10.3 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7574, allocations: 1.969 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.7575, allocations: 3.797 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.7576, allocations: 22.62 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7576, allocations: 8.016 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.7577, allocations: 35.31 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.7577, allocations: 8.328 kB / 1.095 GB, free: 1.32 MB / 0.8575 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.0001339/0.7579, allocations: 249.2 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.7579, allocations: 132.2 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.758, allocations: 136.6 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.758, allocations: 181.6 kB / 1.096 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/0.758, allocations: 186.5 kB / 1.096 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-05/0.7581, allocations: 178.1 kB / 1.096 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.7584, allocations: 489.7 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-05/0.7585, allocations: 106.3 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.7585, allocations: 107.2 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.289e-05/0.7586, allocations: 186 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.704e-05/0.7587, allocations: 182.1 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.469e-05/0.7587, allocations: 181.3 kB / 1.097 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.48e-05/0.7588, allocations: 186.5 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.759, allocations: 334.3 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.7591, allocations: 211.9 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.7592, allocations: 186.4 kB / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.7593, allocations: 108.7 kB / 1.098 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.7594, allocations: 178 kB / 1.098 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.7594, allocations: 110.9 kB / 1.098 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004256/0.7598, allocations: 365.3 kB / 1.099 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7599, allocations: 3.938 kB / 1.099 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003/0.7602, allocations: 24.59 kB / 1.099 GB, free: 13.61 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.0001592/0.7603, allocations: 177.9 kB / 1.099 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.7605, allocations: 71.19 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7605, allocations: 4.125 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.7605, allocations: 1.062 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.7611, allocations: 483.4 kB / 1.099 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006846/0.7618, allocations: 0.4932 MB / 1.1 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.7622, allocations: 0.7784 MB / 1.101 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.7623, allocations: 19.58 kB / 1.101 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.7623, allocations: 0 / 1.101 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.005608/0.7679, allocations: 2.651 MB / 1.103 GB, free: 11.72 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches