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.00804/0.00804, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001826/0.001826, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.35/2.35, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 67.89 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.12, allocations: 140.4 MB / 1.088 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002215/1.123, allocations: 0.7567 MB / 1.089 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002654/1.123, allocations: 53.59 kB / 1.089 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/1.123, allocations: 2.656 kB / 1.089 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/1.123, allocations: 25.53 kB / 1.089 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/1.123, allocations: 11.38 kB / 1.089 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/1.123, allocations: 27.19 kB / 1.089 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/1.124, allocations: 114.6 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/1.124, allocations: 156.1 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.651e-05/1.124, allocations: 68.39 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/1.124, allocations: 71.86 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/1.124, allocations: 11.62 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.118e-05/1.124, allocations: 11.91 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.667e-05/1.124, allocations: 54.86 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/1.124, allocations: 89.8 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/1.125, allocations: 241.1 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.125, allocations: 1.406 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/1.125, allocations: 0 / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.266e-06/1.125, allocations: 4 kB / 1.09 GB, free: 4.871 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.0006144/1.125, allocations: 0.4906 MB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.126, allocations: 9.641 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/1.126, allocations: 27.72 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/1.126, allocations: 258.8 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.126, allocations: 12.22 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/1.126, allocations: 16 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/1.127, allocations: 342.9 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.127, allocations: 4.719 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/1.127, allocations: 9.5 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/1.127, allocations: 13.27 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/1.127, allocations: 271.3 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/1.129, allocations: 1.098 MB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/1.129, allocations: 166.1 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/1.129, allocations: 84.95 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/1.129, allocations: 79.27 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/1.129, allocations: 107.3 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/1.129, allocations: 4.906 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001016/1.129, allocations: 56.89 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/1.129, allocations: 131.2 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/1.13, allocations: 0.4969 MB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/1.13, allocations: 26.33 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/1.13, allocations: 173.9 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/1.13, allocations: 1.484 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/1.13, allocations: 33.95 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.717e-05/1.13, allocations: 344.5 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/1.13, allocations: 49.47 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/1.13, allocations: 94.7 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/1.13, allocations: 120 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.13, allocations: 0.8438 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003977/1.131, allocations: 192.3 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.131, allocations: 9.875 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.131, allocations: 3.125 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.131, allocations: 2.25 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/1.131, allocations: 19.06 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.131, allocations: 3.172 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/1.131, allocations: 36.44 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/1.131, allocations: 15.58 kB / 1.094 GB, free: 1.57 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.0001646/1.131, allocations: 257.6 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/1.131, allocations: 128.5 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.123e-05/1.131, allocations: 136.3 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/1.131, allocations: 178.5 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.545e-05/1.132, allocations: 178.4 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/1.132, allocations: 189.8 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/1.132, allocations: 489.6 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-05/1.132, allocations: 105.6 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/1.132, allocations: 102.8 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.581e-05/1.132, allocations: 182.5 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/1.132, allocations: 185.9 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.285e-05/1.132, allocations: 185.8 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.334e-05/1.132, allocations: 181.7 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/1.133, allocations: 323.1 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/1.133, allocations: 219.6 kB / 1.097 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/1.133, allocations: 190.8 kB / 1.097 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/1.133, allocations: 113.2 kB / 1.097 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/1.133, allocations: 178 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/1.133, allocations: 107.1 kB / 1.098 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005427/1.134, allocations: 364.5 kB / 1.098 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/1.134, allocations: 0 / 1.098 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003397/1.134, allocations: 24.66 kB / 1.098 GB, free: 13.86 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.0001998/1.134, allocations: 179.6 kB / 1.098 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001925/1.134, allocations: 69.23 kB / 1.098 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.134, allocations: 0 / 1.098 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/1.134, allocations: 1.062 kB / 1.098 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006945/1.135, allocations: 483.7 kB / 1.099 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/1.136, allocations: 486.5 kB / 1.099 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/1.136, allocations: 0.7731 MB / 1.1 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001161/1.137, allocations: 52.22 kB / 1.1 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/1.137, allocations: 17.39 kB / 1.1 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/1.137, allocations: 1.125 kB / 1.1 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.00592/1.143, allocations: 1.756 MB / 1.102 GB, free: 12.07 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/jenkins/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