Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 1.107 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9706/0.9726, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001931/0.9745, allocations: 0.7565 MB / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002484/0.9748, allocations: 52.11 kB / 1.272 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.9748, allocations: 1.25 kB / 1.272 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.975, allocations: 27.78 kB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.975, allocations: 7.156 kB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.9752, allocations: 33.41 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.9755, allocations: 126.5 kB / 1.273 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.9758, allocations: 86.56 kB / 1.273 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.9759, allocations: 63.22 kB / 1.273 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.9761, allocations: 82.44 kB / 1.273 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.9761, allocations: 11.31 kB / 1.273 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.9762, allocations: 11.97 kB / 1.273 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.9763, allocations: 54.59 kB / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.9764, allocations: 85.06 kB / 1.273 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.9768, allocations: 240 kB / 1.273 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9768, allocations: 0 / 1.273 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9768, allocations: 0.75 kB / 1.273 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.9768, allocations: 0 / 1.273 GB, free: 6.82 MB / 0.9981 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.000666/0.9775, allocations: 0.4927 MB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.9776, allocations: 8.812 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.651e-05/0.9776, allocations: 61.44 kB / 1.274 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.9777, allocations: 24.08 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.978, allocations: 257.9 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.9781, allocations: 12.38 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.9781, allocations: 15.59 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/0.9789, allocations: 335.3 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.9789, allocations: 4 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.9789, allocations: 13.67 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.979, allocations: 16.95 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.9796, allocations: 260 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.981, allocations: 1.083 MB / 1.276 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.382e-05/0.981, allocations: 177.8 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.981, allocations: 85.08 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.981, allocations: 75.28 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.9811, allocations: 108.5 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.9811, allocations: 0 / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001098/0.9812, allocations: 61.02 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.9812, allocations: 126.7 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/0.9821, allocations: 0.4913 MB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.9821, allocations: 25.7 kB / 1.277 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.9822, allocations: 174.9 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.9822, allocations: 0 / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.9823, allocations: 29.98 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.9824, allocations: 341.6 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.9825, allocations: 55.56 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.9826, allocations: 87.42 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.9828, allocations: 111.9 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.9828, allocations: 0.5938 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004562/0.9833, allocations: 188.9 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.9833, allocations: 14.94 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9833, allocations: 0.8125 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9833, allocations: 2.688 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.9834, allocations: 19.03 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.9834, allocations: 2.688 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.9836, allocations: 39.94 kB / 1.278 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.9836, allocations: 7.219 kB / 1.278 GB, free: 3.492 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.9838, allocations: 251.1 kB / 1.278 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-05/0.9839, allocations: 135.5 kB / 1.278 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.96e-05/0.984, allocations: 137.5 kB / 1.278 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/0.984, allocations: 177.1 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.778e-05/0.984, allocations: 177.1 kB / 1.279 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/0.984, allocations: 186.2 kB / 1.279 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.9844, allocations: 493.1 kB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001026/0.9845, allocations: 106 kB / 1.279 GB, free: 17.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.9846, allocations: 103.6 kB / 1.279 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.9847, allocations: 181 kB / 1.28 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.9848, allocations: 181.3 kB / 1.28 GB, free: 17.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001139/0.9849, allocations: 187.2 kB / 1.28 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.895e-05/0.985, allocations: 186 kB / 1.28 GB, free: 17.06 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.9852, allocations: 322.2 kB / 1.28 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.9855, allocations: 219.1 kB / 1.281 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.9857, allocations: 182.5 kB / 1.281 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.9859, allocations: 111.3 kB / 1.281 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.986, allocations: 185.3 kB / 1.281 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.9861, allocations: 109.2 kB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008158/0.9869, allocations: 362.4 kB / 1.282 GB, free: 15.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9869, allocations: 1 kB / 1.282 GB, free: 15.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003628/0.9873, allocations: 23.25 kB / 1.282 GB, free: 15.79 MB / 1.014 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.0008201/0.9881, allocations: 0.8423 MB / 1.282 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.9884, allocations: 65.86 kB / 1.283 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.9884, allocations: 4.875 kB / 1.283 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-06/0.9884, allocations: 3.938 kB / 1.283 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.9894, allocations: 494.9 kB / 1.283 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.9953, allocations: 3.29 MB / 1.286 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.9959, allocations: 0.7762 MB / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.9961, allocations: 47.25 kB / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.9962, allocations: 58.58 kB / 1.287 GB, free: 11.82 MB / 1.014 GB Notification: Performance of SimCode: time 8.91e-07/0.9962, allocations: 0 / 1.287 GB, free: 11.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/1.033, allocations: 4.584 MB / 1.292 GB, free: 11.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/9.323, allocations: 5.25 kB / 1.292 GB, free: 11.27 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.518556318012998]