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.001169/0.001169, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001222/0.001222, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.219/2.219, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 70.25 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2935, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002196/0.2958, allocations: 0.7545 MB / 0.951 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002702/0.2961, allocations: 59.81 kB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.2961, allocations: 0 / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.2963, allocations: 19.81 kB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.2964, allocations: 7.984 kB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.2966, allocations: 31.83 kB / 0.9511 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.2968, allocations: 119.7 kB / 0.9512 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.2971, allocations: 160.2 kB / 0.9514 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.945e-05/0.2971, allocations: 71.78 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2973, allocations: 71.7 kB / 0.9515 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.2973, allocations: 15.94 kB / 0.9516 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.049e-05/0.2973, allocations: 12 kB / 0.9516 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.2974, allocations: 51.84 kB / 0.9516 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.2976, allocations: 87.42 kB / 0.9517 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.2978, allocations: 227.3 kB / 0.9519 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2978, allocations: 0 / 0.9519 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2978, allocations: 0 / 0.9519 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.2979, allocations: 0 / 0.9519 GB, free: 7.191 MB / 0.7325 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.0006282/0.2985, allocations: 0.4967 MB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2985, allocations: 8.031 kB / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.2986, allocations: 24.66 kB / 0.9524 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.2989, allocations: 260.8 kB / 0.9527 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2989, allocations: 12.75 kB / 0.9527 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.299, allocations: 16.38 kB / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.2994, allocations: 341.1 kB / 0.953 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2995, allocations: 3.938 kB / 0.953 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.2995, allocations: 16 kB / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-05/0.2995, allocations: 15.98 kB / 0.9531 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.3, allocations: 263.8 kB / 0.9533 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.3014, allocations: 1.088 MB / 0.9544 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.3015, allocations: 173.1 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.3015, allocations: 80.14 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.3016, allocations: 79.22 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.3016, allocations: 114 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.3016, allocations: 0 / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001113/0.3018, allocations: 51.47 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.3018, allocations: 134.7 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.3024, allocations: 0.5003 MB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3024, allocations: 25.7 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.3025, allocations: 167.8 kB / 0.9557 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.3026, allocations: 4 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.3026, allocations: 33.61 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3028, allocations: 338.8 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.3029, allocations: 55.95 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.303, allocations: 102.8 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3031, allocations: 114.8 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.3032, allocations: 4 kB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003389/0.3035, allocations: 193.3 kB / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3035, allocations: 7.938 kB / 0.9565 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3035, allocations: 4 kB / 0.9565 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3036, allocations: 0 / 0.9565 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3037, allocations: 23.92 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3037, allocations: 4 kB / 0.9565 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3038, allocations: 35.67 kB / 0.9565 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3038, allocations: 8 kB / 0.9565 GB, free: 2.156 MB / 0.7325 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.0001819/0.304, allocations: 247.2 kB / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.3042, allocations: 136.6 kB / 0.9569 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.3043, allocations: 130.8 kB / 0.957 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.057e-05/0.3044, allocations: 192.2 kB / 0.9572 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001694/0.3046, allocations: 180.2 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.319e-05/0.3047, allocations: 180.3 kB / 0.9576 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.305, allocations: 0.4893 MB / 0.958 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.792e-05/0.305, allocations: 101 kB / 0.9581 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.3051, allocations: 108.9 kB / 0.9582 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.856e-05/0.3052, allocations: 184.2 kB / 0.9584 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/0.3052, allocations: 176.3 kB / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.836e-05/0.3053, allocations: 184.2 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-05/0.3054, allocations: 184.3 kB / 0.9589 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.3056, allocations: 323.5 kB / 0.9592 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.3057, allocations: 214.1 kB / 0.9594 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3058, allocations: 188.1 kB / 0.9596 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3059, allocations: 113 kB / 0.9597 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.306, allocations: 184.2 kB / 0.9599 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.3061, allocations: 101 kB / 0.96 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003932/0.3065, allocations: 367 kB / 0.9604 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3065, allocations: 3.938 kB / 0.9604 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002768/0.3067, allocations: 24 kB / 0.9604 GB, free: 14 MB / 0.7481 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.0001843/0.3069, allocations: 178.5 kB / 0.9606 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.3071, allocations: 71.89 kB / 0.9606 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3071, allocations: 0 / 0.9606 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.579e-06/0.3072, allocations: 3.938 kB / 0.9606 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.3078, allocations: 481.6 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.3084, allocations: 0.4969 MB / 0.9616 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3088, allocations: 0.7826 MB / 0.9623 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.3088, allocations: 23.44 kB / 0.9624 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.3089, allocations: 0 / 0.9624 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.004669/0.3135, allocations: 2.629 MB / 0.9649 GB, free: 9.27 MB / 0.7481 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