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.01121/0.01121, allocations: 99.03 kB / 15.73 MB, free: 6.039 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.001772/0.001772, allocations: 187.5 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.656/1.656, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.56/2.56, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 69.14 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.37, allocations: 140.4 MB / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.00254/0.3726, allocations: 0.7408 MB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.373, allocations: 59.83 kB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.373, allocations: 3.938 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.3733, allocations: 19.86 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.3734, allocations: 11.92 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.3736, allocations: 29.97 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.3739, allocations: 127.6 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.3743, allocations: 160.5 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.3745, allocations: 59.8 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.3746, allocations: 79.64 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.3747, allocations: 12 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.759e-05/0.3747, allocations: 12 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.3749, allocations: 60.17 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.3751, allocations: 83.55 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.3755, allocations: 235 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3755, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.886e-06/0.3755, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.3755, allocations: 0 / 1.09 GB, free: 15.71 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.001006/0.3765, allocations: 499 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.3766, allocations: 12.03 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.643e-05/0.3767, allocations: 28.56 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.3771, allocations: 253 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.3771, allocations: 12.75 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.3772, allocations: 20.31 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.3779, allocations: 344.9 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3779, allocations: 3.938 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.3779, allocations: 8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/0.378, allocations: 16 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.3784, allocations: 267.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.3801, allocations: 1.088 MB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3802, allocations: 169.1 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.3803, allocations: 84.14 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.3804, allocations: 75.28 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/0.3804, allocations: 118 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.3804, allocations: 3.938 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001806/0.3806, allocations: 57.27 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.3807, allocations: 130.7 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.3813, allocations: 0.4887 MB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3813, allocations: 25.7 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.3815, allocations: 175.8 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.3815, allocations: 3.938 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.3816, allocations: 33.61 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3818, allocations: 338.8 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.3818, allocations: 47.97 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.991e-05/0.3819, allocations: 102.8 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3821, allocations: 114.8 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3821, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003312/0.3824, allocations: 193.4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3825, allocations: 11.94 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3825, allocations: 4 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3825, allocations: 4 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3826, allocations: 15.98 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3826, allocations: 7.938 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3828, allocations: 39.67 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3828, allocations: 8 kB / 1.094 GB, free: 10.68 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.0001997/0.383, allocations: 245.1 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3831, allocations: 132.6 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.976e-05/0.3832, allocations: 130.8 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.18e-05/0.3833, allocations: 184.3 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-05/0.3834, allocations: 184.2 kB / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.63e-05/0.3835, allocations: 177.7 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.3839, allocations: 497 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.535e-05/0.3839, allocations: 105 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.384, allocations: 101 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001152/0.3841, allocations: 192.1 kB / 1.096 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.3842, allocations: 176.3 kB / 1.096 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001177/0.3843, allocations: 192.2 kB / 1.096 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001055/0.3845, allocations: 180.3 kB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.3847, allocations: 327.4 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.3849, allocations: 218.1 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.3851, allocations: 192.1 kB / 1.097 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3852, allocations: 113 kB / 1.097 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.3854, allocations: 180.3 kB / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.837e-05/0.3854, allocations: 108.9 kB / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004787/0.3859, allocations: 363 kB / 1.098 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3859, allocations: 4 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003301/0.3863, allocations: 24 kB / 1.098 GB, free: 6.52 MB / 0.8575 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.0002907/0.3865, allocations: 178.5 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.3868, allocations: 67.89 kB / 1.098 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3868, allocations: 0 / 1.098 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/0.3868, allocations: 3.938 kB / 1.098 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/0.3875, allocations: 485.5 kB / 1.099 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.3883, allocations: 479.3 kB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3888, allocations: 0.7671 MB / 1.1 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.3889, allocations: 49.52 kB / 1.1 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.3889, allocations: 19.44 kB / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of SimCode: time 8.31e-07/0.3889, allocations: 0 / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of Templates: time 0.005494/0.3944, allocations: 1.787 MB / 1.102 GB, free: 2.656 MB / 0.8575 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