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.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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00146/0.00146, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.537/1.537, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.592/2.592, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.91 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8851/0.8867, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002023/0.8887, allocations: 0.8009 MB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002394/0.889, allocations: 52.2 kB / 0.95 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.8891, allocations: 5.312 kB / 0.95 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.8892, allocations: 13.3 kB / 0.95 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.8893, allocations: 16.05 kB / 0.95 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.8895, allocations: 31.22 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.8896, allocations: 113.5 kB / 0.9501 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.8899, allocations: 160.1 kB / 0.9503 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.357e-05/0.8899, allocations: 74.17 kB / 0.9503 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.89, allocations: 72.94 kB / 0.9504 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.8901, allocations: 11.12 kB / 0.9504 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.585e-05/0.8901, allocations: 11.84 kB / 0.9504 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.8902, allocations: 56.59 kB / 0.9505 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.8902, allocations: 80.86 kB / 0.9506 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.8904, allocations: 227.8 kB / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8905, allocations: 0 / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8905, allocations: 1.406 kB / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.8905, allocations: 0 / 0.9508 GB, free: 7.965 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.0004324/0.8909, allocations: 0.4913 MB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.891, allocations: 13.66 kB / 0.9513 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.891, allocations: 23.72 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.8912, allocations: 254.8 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.8912, allocations: 14.78 kB / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.8913, allocations: 19.53 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.8917, allocations: 342.9 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.8918, allocations: 3.938 kB / 0.9519 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.8918, allocations: 6.531 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.8918, allocations: 18.73 kB / 0.9519 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.8921, allocations: 256.7 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000979/0.8931, allocations: 1.087 MB / 0.9532 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.8932, allocations: 170.2 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.8932, allocations: 81.36 kB / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.8932, allocations: 79.28 kB / 0.9536 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.8933, allocations: 110.9 kB / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.8933, allocations: 0 / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.96e-05/0.8933, allocations: 56.48 kB / 0.9537 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.8934, allocations: 134.7 kB / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.8939, allocations: 0.4892 MB / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.8939, allocations: 26.83 kB / 0.9543 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.894, allocations: 168.6 kB / 0.9545 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.894, allocations: 4 kB / 0.9545 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.894, allocations: 34.45 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.946e-05/0.8941, allocations: 335.6 kB / 0.9549 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.626e-05/0.8942, allocations: 50.86 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.8942, allocations: 96.62 kB / 0.955 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.8944, allocations: 112.5 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8944, allocations: 0 / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002784/0.8947, allocations: 179.6 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.8947, allocations: 7.031 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8947, allocations: 5.062 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.8947, allocations: 2.344 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.8948, allocations: 23.86 kB / 0.9553 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.8948, allocations: 2.281 kB / 0.9553 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.154e-05/0.8949, allocations: 41.39 kB / 0.9554 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.8949, allocations: 7.312 kB / 0.9554 GB, free: 4.289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.8951, allocations: 244.7 kB / 0.9556 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.8951, allocations: 126.7 kB / 0.9557 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.8952, allocations: 144.5 kB / 0.9559 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.8952, allocations: 176.3 kB / 0.956 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/0.8952, allocations: 185.3 kB / 0.9562 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/0.8953, allocations: 182.9 kB / 0.9564 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.8955, allocations: 497.8 kB / 0.9569 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.8955, allocations: 105 kB / 0.957 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.8955, allocations: 106.1 kB / 0.9571 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.588e-05/0.8956, allocations: 185.2 kB / 0.9572 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.8956, allocations: 185.3 kB / 0.9574 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-05/0.8956, allocations: 181.4 kB / 0.9576 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.491e-05/0.8956, allocations: 177.3 kB / 0.9578 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.279e-05/0.8957, allocations: 328.9 kB / 0.9581 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.8958, allocations: 219.9 kB / 0.9583 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.8959, allocations: 193.6 kB / 0.9585 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.896, allocations: 106.3 kB / 0.9586 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.896, allocations: 176.3 kB / 0.9587 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.896, allocations: 110.3 kB / 0.9588 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003181/0.8964, allocations: 365.3 kB / 0.9592 GB, free: 484 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8964, allocations: 4 kB / 0.9592 GB, free: 480 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000264/0.8966, allocations: 28.59 kB / 0.9592 GB, free: 476 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 (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.0001161/0.8968, allocations: 176.5 kB / 0.9594 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.8969, allocations: 62.67 kB / 0.9594 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8969, allocations: 0 / 0.9594 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.8969, allocations: 448 / 0.9594 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.8975, allocations: 484.9 kB / 0.9599 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.8981, allocations: 0.5031 MB / 0.9604 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.8985, allocations: 0.7803 MB / 0.9612 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.583e-05/0.8986, allocations: 50.73 kB / 0.9612 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.8986, allocations: 15.03 kB / 0.9612 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.8986, allocations: 1.281 kB / 0.9612 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.00443/0.9031, allocations: 1.734 MB / 0.9629 GB, free: 13.86 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches