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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009615/0.0009613, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0009457/0.0009458, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 12 kB / 0.8146 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.6409, allocations: 142.3 MB / 0.9535 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.0007615/0.6417, allocations: 458.2 kB / 0.954 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001838/0.6419, allocations: 60.56 kB / 0.954 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.6419, allocations: 5 kB / 0.954 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.6421, allocations: 10.34 kB / 0.954 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.6421, allocations: 22.89 kB / 0.9541 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.6423, allocations: 24.81 kB / 0.9541 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.6424, allocations: 72.25 kB / 0.9542 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.6426, allocations: 134.5 kB / 0.9543 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.6427, allocations: 32.83 kB / 0.9543 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.6427, allocations: 43.23 kB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.6428, allocations: 3.781 kB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.6428, allocations: 2.656 kB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.6428, allocations: 42.88 kB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.6429, allocations: 49.45 kB / 0.9544 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.643, allocations: 175 kB / 0.9546 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.643, allocations: 0 / 0.9546 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.643, allocations: 0 / 0.9546 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.643, allocations: 1.469 kB / 0.9546 GB, free: 7.535 MB / 0.7169 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.0004347/0.6435, allocations: 465.3 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6435, allocations: 9.375 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.6436, allocations: 31.58 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.6439, allocations: 244.4 kB / 0.9553 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.6439, allocations: 16.22 kB / 0.9553 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.6439, allocations: 15.66 kB / 0.9554 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.6444, allocations: 341 kB / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6444, allocations: 4 kB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.6444, allocations: 10.16 kB / 0.9557 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.6445, allocations: 19.08 kB / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.6448, allocations: 271.2 kB / 0.956 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009959/0.6458, allocations: 1.079 MB / 0.957 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.6459, allocations: 173.1 kB / 0.9572 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.6459, allocations: 80.78 kB / 0.9573 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.6459, allocations: 109.8 kB / 0.9574 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.6459, allocations: 0 / 0.9574 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.627e-05/0.646, allocations: 48.8 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.646, allocations: 134.6 kB / 0.9576 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.6465, allocations: 0.4925 MB / 0.958 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.6465, allocations: 25.7 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.6466, allocations: 177.5 kB / 0.9582 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.6466, allocations: 0 / 0.9582 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.6466, allocations: 5.375 kB / 0.9582 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.6467, allocations: 336.4 kB / 0.9586 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.6468, allocations: 46.22 kB / 0.9586 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.6468, allocations: 109.1 kB / 0.9587 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.544e-05/0.6469, allocations: 65.08 kB / 0.9588 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6469, allocations: 1.375 kB / 0.9588 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002697/0.6472, allocations: 189.6 kB / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6472, allocations: 9.703 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6472, allocations: 3.188 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.6473, allocations: 2.25 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.6474, allocations: 20.27 kB / 0.959 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.6474, allocations: 10.25 kB / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-05/0.6475, allocations: 30.81 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.6475, allocations: 10.56 kB / 0.959 GB, free: 4.035 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.6476, allocations: 248.7 kB / 0.9593 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.6477, allocations: 127.4 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.936e-05/0.6478, allocations: 143.7 kB / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.6478, allocations: 177.5 kB / 0.9597 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.133e-05/0.6478, allocations: 189.2 kB / 0.9599 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/0.6479, allocations: 181.2 kB / 0.96 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.6481, allocations: 493.6 kB / 0.9605 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.6481, allocations: 106.2 kB / 0.9606 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.6481, allocations: 103.3 kB / 0.9607 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.372e-05/0.6482, allocations: 185.7 kB / 0.9609 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.6482, allocations: 176.3 kB / 0.9611 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.692e-05/0.6482, allocations: 189.2 kB / 0.9612 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-05/0.6482, allocations: 185.2 kB / 0.9614 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.88e-05/0.6483, allocations: 329.2 kB / 0.9617 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.6485, allocations: 228.2 kB / 0.962 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.6485, allocations: 181.3 kB / 0.9621 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.6486, allocations: 111.9 kB / 0.9622 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.6487, allocations: 185.4 kB / 0.9624 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.6487, allocations: 106.1 kB / 0.9625 GB, free: 416 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003434/0.649, allocations: 368.5 kB / 0.9629 GB, free: 216 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.649, allocations: 0 / 0.9629 GB, free: 216 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002702/0.6493, allocations: 24.75 kB / 0.9629 GB, free: 216 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.6494, allocations: 180.7 kB / 0.9631 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.6496, allocations: 69.05 kB / 0.9631 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6496, allocations: 0.5 kB / 0.9631 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.6496, allocations: 8.938 kB / 0.9631 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.6501, allocations: 0.5524 MB / 0.9637 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.6508, allocations: 489.2 kB / 0.9641 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.6512, allocations: 0.7827 MB / 0.9649 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.6513, allocations: 50.48 kB / 0.965 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.6514, allocations: 16.16 kB / 0.965 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.6514, allocations: 1.188 kB / 0.965 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.004369/0.6557, allocations: 1.577 MB / 0.9665 GB, free: 13.6 MB / 0.7325 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches