Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 109.6 kB / 16.41 MB, free: 6.477 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.001223/0.001223, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.4/1.4, 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.441/2.441, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7929/0.7944, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002135/0.7966, allocations: 0.755 MB / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.7969, allocations: 51.83 kB / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.797, allocations: 3.938 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.7972, allocations: 19.86 kB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.378e-05/0.7972, allocations: 11.92 kB / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.7974, allocations: 27.97 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.7976, allocations: 115.7 kB / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.7978, allocations: 156.4 kB / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/0.7979, allocations: 71.78 kB / 1.169 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.798, allocations: 71.64 kB / 1.169 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.7981, allocations: 15.94 kB / 1.169 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.023e-05/0.7981, allocations: 16 kB / 1.169 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.7982, allocations: 51.86 kB / 1.169 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.7983, allocations: 83.42 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.7986, allocations: 235.1 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7986, allocations: 0 / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7986, allocations: 0 / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.7986, allocations: 0 / 1.169 GB, free: 2.16 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006421/0.7992, allocations: 0.5045 MB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.7993, allocations: 8.922 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.7994, allocations: 24.66 kB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.7997, allocations: 259.9 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.7997, allocations: 8.75 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.7998, allocations: 20.36 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.8002, allocations: 341.1 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.8003, allocations: 7.938 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.8003, allocations: 12 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.8003, allocations: 12 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.8007, allocations: 269.3 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.8019, allocations: 1.084 MB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.802, allocations: 169.1 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.8021, allocations: 84.17 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.8021, allocations: 79.28 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.8022, allocations: 106 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.8022, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001076/0.8023, allocations: 63.73 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.8024, allocations: 126.7 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.8029, allocations: 0.5003 MB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.8029, allocations: 25.7 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.803, allocations: 179.6 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.8031, allocations: 0 / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.8031, allocations: 29.7 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8032, allocations: 342.8 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.8033, allocations: 51.95 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.429e-05/0.8034, allocations: 98.77 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.8036, allocations: 118.7 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8036, allocations: 0 / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003114/0.8039, allocations: 197.1 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.8039, allocations: 7.938 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8039, allocations: 4 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.804, allocations: 0 / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.8041, allocations: 23.98 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.8041, allocations: 7.938 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.873e-05/0.8042, allocations: 31.69 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.8042, allocations: 4 kB / 1.174 GB, free: 13.13 MB / 0.9044 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.0001634/0.8044, allocations: 253.3 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.8045, allocations: 140.5 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.8046, allocations: 134.8 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.711e-05/0.8046, allocations: 184.2 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.638e-05/0.8047, allocations: 180.2 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-05/0.8048, allocations: 180.3 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.8051, allocations: 493.1 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-05/0.8051, allocations: 112.9 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.8052, allocations: 101 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-05/0.8052, allocations: 184.1 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.8053, allocations: 176.3 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.371e-05/0.8054, allocations: 188.3 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-05/0.8055, allocations: 184.2 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.8057, allocations: 323.5 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.8059, allocations: 217.8 kB / 1.177 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.806, allocations: 184.2 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.8062, allocations: 108.9 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.8063, allocations: 180.3 kB / 1.177 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.8063, allocations: 109.2 kB / 1.177 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003553/0.8067, allocations: 363 kB / 1.177 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8067, allocations: 0 / 1.177 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003194/0.807, allocations: 28 kB / 1.177 GB, free: 8.957 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.0001625/0.8072, allocations: 176.6 kB / 1.178 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.8073, allocations: 75.88 kB / 1.178 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8074, allocations: 3.938 kB / 1.178 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.8074, allocations: 3.938 kB / 1.178 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.8079, allocations: 483.9 kB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.8086, allocations: 0.5009 MB / 1.179 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.809, allocations: 0.771 MB / 1.179 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.809, allocations: 19.44 kB / 1.179 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.809, allocations: 8 kB / 1.179 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of Templates: time 0.004494/0.8135, allocations: 2.651 MB / 1.182 GB, free: 4.215 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches