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.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.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.001194/0.001194, allocations: 89.89 kB / 15.06 MB, free: 1.094 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.001743/0.001743, allocations: 172.7 kB / 15.95 MB, free: 204 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.426 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.579/2.579, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003598, allocations: 16 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.8179, allocations: 142.4 MB / 0.9545 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.001131/0.8191, allocations: 459.1 kB / 0.9549 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.8193, allocations: 51.52 kB / 0.955 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.8194, allocations: 1.031 kB / 0.955 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.8195, allocations: 14.09 kB / 0.955 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.8196, allocations: 9.922 kB / 0.955 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.8198, allocations: 32.88 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.82, allocations: 134.3 kB / 0.9551 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.8202, allocations: 132.7 kB / 0.9553 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.8203, allocations: 34.02 kB / 0.9553 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.8204, allocations: 37.58 kB / 0.9553 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.8204, allocations: 3.375 kB / 0.9553 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.8205, allocations: 4.062 kB / 0.9553 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.8205, allocations: 29.36 kB / 0.9554 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.8206, allocations: 54.33 kB / 0.9554 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.8208, allocations: 178 kB / 0.9556 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.8208, allocations: 1.438 kB / 0.9556 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.378e-06/0.8208, allocations: 0 / 0.9556 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.8208, allocations: 3.938 kB / 0.9556 GB, free: 6.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.0004518/0.8213, allocations: 457.9 kB / 0.956 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.8213, allocations: 8.844 kB / 0.956 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.8214, allocations: 26.98 kB / 0.9561 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.8216, allocations: 249 kB / 0.9563 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8216, allocations: 11.41 kB / 0.9563 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.8217, allocations: 23.84 kB / 0.9563 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.8222, allocations: 340.5 kB / 0.9567 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8222, allocations: 0 / 0.9567 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.8222, allocations: 5.656 kB / 0.9567 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.8223, allocations: 18.94 kB / 0.9567 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.8226, allocations: 259.5 kB / 0.9569 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.8238, allocations: 1.085 MB / 0.958 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.891e-05/0.8238, allocations: 170.6 kB / 0.9582 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.8239, allocations: 80.14 kB / 0.9582 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.8239, allocations: 76.81 kB / 0.9583 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.8239, allocations: 117.8 kB / 0.9584 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.8239, allocations: 0 / 0.9584 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.021e-05/0.824, allocations: 57.48 kB / 0.9585 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.8241, allocations: 126.7 kB / 0.9586 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.8246, allocations: 0.4897 MB / 0.9591 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.8246, allocations: 27.08 kB / 0.9591 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.8247, allocations: 168.3 kB / 0.9593 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.8248, allocations: 4 kB / 0.9593 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.8248, allocations: 1.375 kB / 0.9593 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.8249, allocations: 340.4 kB / 0.9596 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.8249, allocations: 50.2 kB / 0.9596 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.003e-05/0.825, allocations: 86.97 kB / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.8251, allocations: 67.64 kB / 0.9598 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8251, allocations: 0 / 0.9598 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003401/0.8255, allocations: 179 kB / 0.9599 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.8255, allocations: 14.42 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8255, allocations: 1 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.8256, allocations: 2.375 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.8257, allocations: 24.02 kB / 0.96 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.8257, allocations: 2 kB / 0.96 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.8258, allocations: 36.67 kB / 0.96 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.8258, allocations: 7.375 kB / 0.96 GB, free: 3.422 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.0001696/0.826, allocations: 248.7 kB / 0.9603 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.8261, allocations: 135 kB / 0.9604 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/0.8262, allocations: 143.6 kB / 0.9605 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/0.8262, allocations: 185.3 kB / 0.9607 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.442e-05/0.8263, allocations: 181.2 kB / 0.9609 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.383e-05/0.8263, allocations: 177.2 kB / 0.9611 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.8266, allocations: 493.3 kB / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/0.8266, allocations: 111.3 kB / 0.9616 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.8266, allocations: 109.9 kB / 0.9617 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.358e-05/0.8267, allocations: 181.2 kB / 0.9619 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.8267, allocations: 185.2 kB / 0.9621 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-05/0.8268, allocations: 185.4 kB / 0.9623 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.238e-05/0.8268, allocations: 181.3 kB / 0.9624 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.8269, allocations: 328.6 kB / 0.9627 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.827, allocations: 223.6 kB / 0.963 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.8271, allocations: 182.3 kB / 0.9631 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.8272, allocations: 105.4 kB / 0.9632 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.8273, allocations: 188.9 kB / 0.9634 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/0.8274, allocations: 114.5 kB / 0.9635 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004417/0.8278, allocations: 358.8 kB / 0.9639 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8278, allocations: 0 / 0.9639 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002724/0.8281, allocations: 24.12 kB / 0.9639 GB, free: 15.59 MB / 0.7325 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.0002025/0.8283, allocations: 177.6 kB / 0.9641 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.8285, allocations: 70.94 kB / 0.9641 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8285, allocations: 0 / 0.9641 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.8285, allocations: 0.875 kB / 0.9641 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.8292, allocations: 0.5447 MB / 0.9647 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008047/0.83, allocations: 488.5 kB / 0.9651 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.8304, allocations: 0.7734 MB / 0.9659 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.8306, allocations: 49.27 kB / 0.9659 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.8306, allocations: 25.03 kB / 0.966 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8306, allocations: 0 / 0.966 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.004834/0.8355, allocations: 1.586 MB / 0.9675 GB, free: 12.99 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