Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.0009121, allocations: 100.1 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.0009735/0.0009736, allocations: 177.3 kB / 15.95 MB, free: 216 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.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9552/0.9556, allocations: 142.3 MB / 0.9536 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.0008902/0.9565, allocations: 461.4 kB / 0.954 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000201/0.9567, allocations: 53.09 kB / 0.9541 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.9568, allocations: 5.156 kB / 0.9541 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.9569, allocations: 18.22 kB / 0.9541 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.454e-05/0.957, allocations: 9.141 kB / 0.9541 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.9571, allocations: 23.67 kB / 0.9541 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.9573, allocations: 83.72 kB / 0.9542 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.9575, allocations: 124.7 kB / 0.9543 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.9575, allocations: 28.48 kB / 0.9544 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.9576, allocations: 45.77 kB / 0.9544 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.9576, allocations: 3.469 kB / 0.9544 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.694e-05/0.9577, allocations: 3.406 kB / 0.9544 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.9577, allocations: 37.3 kB / 0.9545 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.9578, allocations: 55.08 kB / 0.9545 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.9579, allocations: 170.5 kB / 0.9547 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.9579, allocations: 0 / 0.9547 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9579, allocations: 0 / 0.9547 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.9579, allocations: 0 / 0.9547 GB, free: 7.41 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003874/0.9583, allocations: 458.4 kB / 0.9551 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.9584, allocations: 9.906 kB / 0.9551 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.9584, allocations: 59.31 kB / 0.9552 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.9585, allocations: 31.05 kB / 0.9552 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.9587, allocations: 248.1 kB / 0.9554 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.9588, allocations: 19.97 kB / 0.9555 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.9588, allocations: 15.22 kB / 0.9555 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.9592, allocations: 335 kB / 0.9558 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.9593, allocations: 1.312 kB / 0.9558 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.9593, allocations: 5.375 kB / 0.9558 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.9593, allocations: 19.2 kB / 0.9558 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.9597, allocations: 260.4 kB / 0.9561 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.9608, allocations: 1.081 MB / 0.9571 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.713e-05/0.9609, allocations: 174.4 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.9609, allocations: 79.28 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.9609, allocations: 115.1 kB / 0.9575 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.9609, allocations: 3.984 kB / 0.9575 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.03e-05/0.961, allocations: 52.33 kB / 0.9575 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.9611, allocations: 126.7 kB / 0.9577 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.9617, allocations: 0.49 MB / 0.9581 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.9618, allocations: 26.61 kB / 0.9582 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.9619, allocations: 176.7 kB / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.9619, allocations: 0 / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.9619, allocations: 1.25 kB / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.962, allocations: 340.5 kB / 0.9587 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.962, allocations: 54.27 kB / 0.9587 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.9621, allocations: 86.12 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.814e-05/0.9622, allocations: 60.53 kB / 0.9588 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9622, allocations: 0 / 0.9588 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002951/0.9625, allocations: 187 kB / 0.959 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.9625, allocations: 14.42 kB / 0.959 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9626, allocations: 1.375 kB / 0.959 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.9626, allocations: 2.75 kB / 0.959 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.9627, allocations: 20.48 kB / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9627, allocations: 1.531 kB / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.9628, allocations: 33.56 kB / 0.9591 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.9628, allocations: 18.78 kB / 0.9591 GB, free: 3.879 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001439/0.963, allocations: 248.9 kB / 0.9593 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.9631, allocations: 127.7 kB / 0.9595 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.9631, allocations: 143.1 kB / 0.9596 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/0.9631, allocations: 185.6 kB / 0.9598 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/0.9632, allocations: 176.3 kB / 0.96 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/0.9632, allocations: 185.6 kB / 0.9601 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.9634, allocations: 0.4892 MB / 0.9606 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/0.9634, allocations: 102.4 kB / 0.9607 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.9635, allocations: 107.7 kB / 0.9608 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/0.9635, allocations: 176.3 kB / 0.961 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.9635, allocations: 181.6 kB / 0.9611 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.568e-05/0.9636, allocations: 181.6 kB / 0.9613 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.61e-05/0.9636, allocations: 185.6 kB / 0.9615 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.472e-05/0.9637, allocations: 327.8 kB / 0.9618 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.9638, allocations: 231.8 kB / 0.962 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.9639, allocations: 181.6 kB / 0.9622 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.964, allocations: 110.5 kB / 0.9623 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.964, allocations: 188.2 kB / 0.9625 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.964, allocations: 106.7 kB / 0.9626 GB, free: 256 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00035/0.9644, allocations: 362.7 kB / 0.9629 GB, free: 60 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9644, allocations: 0 / 0.9629 GB, free: 60 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002687/0.9647, allocations: 24.56 kB / 0.963 GB, free: 60 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.0005029/0.9652, allocations: 0.8336 MB / 0.9638 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.9653, allocations: 67.36 kB / 0.9638 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9653, allocations: 0 / 0.9638 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.9653, allocations: 0.9688 kB / 0.9638 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.9659, allocations: 0.5515 MB / 0.9644 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.969, allocations: 2.546 MB / 0.9669 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.9694, allocations: 0.7814 MB / 0.9676 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.9695, allocations: 46.44 kB / 0.9677 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.9696, allocations: 63.81 kB / 0.9677 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.9696, allocations: 3.938 kB / 0.9677 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.9851, allocations: 4.122 MB / 0.9718 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.9854, allocations: 192.5 kB / 0.9719 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.656, allocations: 0 / 0.9719 GB, free: 9.863 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat does not exist to compare? outputFormat=mat