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.001689/0.001689, allocations: 104.1 kB / 15.98 MB, free: 6.352 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.002061/0.002061, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.449/1.449, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.227/2.227, allocations: 390.3 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 67.55 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3056, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002011/0.3077, allocations: 0.8044 MB / 0.9506 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.3079, allocations: 55.83 kB / 0.9506 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.3079, allocations: 0 / 0.9506 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.3081, allocations: 19.86 kB / 0.9507 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.3082, allocations: 7.984 kB / 0.9507 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.3083, allocations: 23.97 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3085, allocations: 123.6 kB / 0.9508 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.3087, allocations: 160.3 kB / 0.951 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.3088, allocations: 67.8 kB / 0.951 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.178e-05/0.3089, allocations: 75.62 kB / 0.9511 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.309, allocations: 12 kB / 0.9511 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.72e-05/0.309, allocations: 16 kB / 0.9511 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.3091, allocations: 51.84 kB / 0.9512 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.3092, allocations: 83.42 kB / 0.9512 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.3094, allocations: 183.7 kB / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3094, allocations: 0 / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3094, allocations: 0 / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.729e-06/0.3094, allocations: 0 / 0.9514 GB, free: 7.531 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.0005458/0.31, allocations: 491.3 kB / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.31, allocations: 12.02 kB / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/0.3101, allocations: 24.66 kB / 0.9519 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.3104, allocations: 275.7 kB / 0.9522 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.3104, allocations: 12.75 kB / 0.9522 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.3105, allocations: 24.36 kB / 0.9522 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.3109, allocations: 337.1 kB / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.311, allocations: 3.938 kB / 0.9525 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.311, allocations: 11.98 kB / 0.9526 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/0.3111, allocations: 11.94 kB / 0.9526 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.3114, allocations: 267.8 kB / 0.9528 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.3126, allocations: 1.076 MB / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.998e-05/0.3127, allocations: 173.1 kB / 0.954 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.3127, allocations: 84.14 kB / 0.9541 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3128, allocations: 79.27 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.3128, allocations: 109.8 kB / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.3128, allocations: 0 / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001066/0.3129, allocations: 49.55 kB / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.313, allocations: 126.7 kB / 0.9545 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.3135, allocations: 0.4926 MB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3136, allocations: 29.7 kB / 0.955 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3137, allocations: 171.8 kB / 0.9551 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.3137, allocations: 0 / 0.9551 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.3138, allocations: 33.61 kB / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3139, allocations: 342.8 kB / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.314, allocations: 47.97 kB / 0.9555 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.3141, allocations: 89.97 kB / 0.9556 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.3142, allocations: 105.9 kB / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3142, allocations: 0 / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002935/0.3145, allocations: 185.1 kB / 0.9559 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3145, allocations: 4 kB / 0.9559 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3146, allocations: 11.92 kB / 0.9559 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3146, allocations: 3.938 kB / 0.9559 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.3147, allocations: 20.22 kB / 0.956 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3147, allocations: 7.984 kB / 0.956 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.3148, allocations: 35.69 kB / 0.956 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3148, allocations: 8 kB / 0.956 GB, free: 2.547 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.0001513/0.315, allocations: 249 kB / 0.9562 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.3151, allocations: 128.7 kB / 0.9564 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.512e-05/0.3151, allocations: 138.7 kB / 0.9565 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-05/0.3152, allocations: 180.3 kB / 0.9567 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-05/0.3153, allocations: 176.3 kB / 0.9568 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.236e-05/0.3153, allocations: 184.2 kB / 0.957 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.3157, allocations: 497.1 kB / 0.9575 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-05/0.3157, allocations: 104.9 kB / 0.9576 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.3157, allocations: 105 kB / 0.9577 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.236e-05/0.3158, allocations: 184.3 kB / 0.9579 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/0.3159, allocations: 188.1 kB / 0.958 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-05/0.3159, allocations: 184.2 kB / 0.9582 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001051/0.3161, allocations: 180.4 kB / 0.9584 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.3163, allocations: 331.5 kB / 0.9587 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.3164, allocations: 217.7 kB / 0.9589 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/0.3165, allocations: 180.2 kB / 0.9591 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3166, allocations: 112.9 kB / 0.9592 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.3167, allocations: 180.3 kB / 0.9594 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.3167, allocations: 109 kB / 0.9595 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003474/0.3171, allocations: 366.9 kB / 0.9598 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3171, allocations: 0 / 0.9598 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002798/0.3174, allocations: 24 kB / 0.9598 GB, free: 14.39 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.0001381/0.3175, allocations: 170.5 kB / 0.96 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.3176, allocations: 63.89 kB / 0.9601 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3177, allocations: 4.438 kB / 0.9601 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.3177, allocations: 4 kB / 0.9601 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.3182, allocations: 476.8 kB / 0.9605 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006096/0.3188, allocations: 0.5398 MB / 0.9611 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.3193, allocations: 0.7748 MB / 0.9618 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.3193, allocations: 15.44 kB / 0.9618 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of SimCode: time 1.443e-06/0.3193, allocations: 0 / 0.9618 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of Templates: time 0.00442/0.3238, allocations: 2.642 MB / 0.9644 GB, free: 9.633 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