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.001383/0.001383, allocations: 100.9 kB / 16.27 MB, free: 5.977 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.001471/0.001471, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.238/2.238, allocations: 390.2 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 73.52 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3274, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002482/0.3299, allocations: 0.7378 MB / 0.951 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002662/0.3302, allocations: 59.83 kB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.3303, allocations: 0 / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.3305, allocations: 19.8 kB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.3306, allocations: 19.91 kB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.3308, allocations: 27.97 kB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.331, allocations: 115.7 kB / 0.9512 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.3313, allocations: 160.3 kB / 0.9514 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.3314, allocations: 71.78 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3315, allocations: 71.64 kB / 0.9515 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.3316, allocations: 12 kB / 0.9515 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.3316, allocations: 12 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.444e-05/0.3317, allocations: 47.86 kB / 0.9516 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.3318, allocations: 83.42 kB / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.3322, allocations: 227.3 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3322, allocations: 0 / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3322, allocations: 4 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.3322, allocations: 0 / 0.9519 GB, free: 7.211 MB / 0.7325 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.0007467/0.333, allocations: 499.2 kB / 0.9524 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.333, allocations: 15.97 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.3331, allocations: 20.66 kB / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.3335, allocations: 259.8 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.3336, allocations: 16.75 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.3336, allocations: 16.38 kB / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/0.3343, allocations: 337.2 kB / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3343, allocations: 7.938 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.3343, allocations: 8 kB / 0.953 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.3344, allocations: 19.92 kB / 0.9531 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.3349, allocations: 255.9 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.3365, allocations: 1.092 MB / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.3366, allocations: 169.1 kB / 0.9545 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.3367, allocations: 80.14 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.3367, allocations: 75.28 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/0.3368, allocations: 109.8 kB / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.664e-06/0.3368, allocations: 0 / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001329/0.3369, allocations: 55.66 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.337, allocations: 126.7 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007695/0.3378, allocations: 0.4965 MB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3378, allocations: 25.7 kB / 0.9555 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.338, allocations: 171.8 kB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.338, allocations: 3.938 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.3381, allocations: 37.61 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3383, allocations: 338.8 kB / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3384, allocations: 51.95 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3386, allocations: 89.95 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3388, allocations: 109.9 kB / 0.9562 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3388, allocations: 4 kB / 0.9562 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000424/0.3392, allocations: 189.1 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.3393, allocations: 6.5 kB / 0.9564 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.3393, allocations: 7.938 kB / 0.9564 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3393, allocations: 0 / 0.9564 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3395, allocations: 19.98 kB / 0.9564 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3395, allocations: 4 kB / 0.9564 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.3396, allocations: 31.91 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.3397, allocations: 15.98 kB / 0.9565 GB, free: 2.227 MB / 0.7325 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.0002417/0.3399, allocations: 249 kB / 0.9567 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.34, allocations: 120.7 kB / 0.9568 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3402, allocations: 142.7 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.929e-05/0.3403, allocations: 180.3 kB / 0.9572 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.423e-05/0.3403, allocations: 184.2 kB / 0.9573 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.922e-05/0.3404, allocations: 184.2 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.3409, allocations: 489.1 kB / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-05/0.3409, allocations: 104.9 kB / 0.9581 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.341, allocations: 109 kB / 0.9582 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.678e-05/0.3411, allocations: 176.3 kB / 0.9583 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.734e-05/0.3412, allocations: 192.1 kB / 0.9585 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001039/0.3413, allocations: 180.2 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-05/0.3414, allocations: 184.2 kB / 0.9589 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.3416, allocations: 327.5 kB / 0.9592 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.3418, allocations: 222.1 kB / 0.9594 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3419, allocations: 180.2 kB / 0.9596 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.3421, allocations: 116.9 kB / 0.9597 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3422, allocations: 180.3 kB / 0.9599 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.3423, allocations: 108.9 kB / 0.96 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005133/0.3428, allocations: 359 kB / 0.9603 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3428, allocations: 0 / 0.9603 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004098/0.3432, allocations: 32 kB / 0.9603 GB, free: 14.07 MB / 0.7481 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.0002122/0.3434, allocations: 178.5 kB / 0.9605 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.3436, allocations: 63.89 kB / 0.9606 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3437, allocations: 0 / 0.9606 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-06/0.3437, allocations: 0 / 0.9606 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/0.3444, allocations: 489.2 kB / 0.961 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.3454, allocations: 496.8 kB / 0.9615 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.3458, allocations: 0.7826 MB / 0.9623 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.3459, allocations: 19.44 kB / 0.9623 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.3459, allocations: 0 / 0.9623 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of Templates: time 0.006643/0.3526, allocations: 2.623 MB / 0.9648 GB, free: 9.363 MB / 0.7481 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/jenkins1/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