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.001684/0.001684, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00227/0.00227, allocations: 198.9 kB / 16.79 MB, free: 6.809 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.563/2.563, allocations: 390.2 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7337/0.735, allocations: 140.4 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002209/0.7373, allocations: 0.7991 MB / 0.9504 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00021/0.7375, allocations: 53.02 kB / 0.9504 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.7376, allocations: 5.312 kB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.7378, allocations: 9.094 kB / 0.9504 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.7378, allocations: 16.17 kB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.738, allocations: 31.73 kB / 0.9505 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.7382, allocations: 111.2 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.7384, allocations: 154.1 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.7385, allocations: 56.25 kB / 0.9508 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.7386, allocations: 72.47 kB / 0.9509 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.7386, allocations: 8.5 kB / 0.9509 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.975e-05/0.7386, allocations: 8.625 kB / 0.9509 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.7387, allocations: 47.05 kB / 0.9509 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.04e-05/0.7388, allocations: 77.36 kB / 0.951 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.739, allocations: 179.3 kB / 0.9512 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.739, allocations: 0 / 0.9512 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.739, allocations: 4 kB / 0.9512 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.739, allocations: 0 / 0.9512 GB, free: 8.078 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.0004833/0.7395, allocations: 0.4885 MB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.7395, allocations: 8.719 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.7396, allocations: 23.72 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.7398, allocations: 261.5 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.7399, allocations: 12.97 kB / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.7399, allocations: 15.38 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.7404, allocations: 342.8 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.7404, allocations: 7.875 kB / 0.9523 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.7404, allocations: 13.61 kB / 0.9523 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.7404, allocations: 14.95 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.7408, allocations: 257.3 kB / 0.9526 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.7419, allocations: 1.088 MB / 0.9536 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.742, allocations: 169.1 kB / 0.9538 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.742, allocations: 81.08 kB / 0.9539 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.742, allocations: 75.28 kB / 0.9539 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.742, allocations: 115.2 kB / 0.9541 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.742, allocations: 0 / 0.9541 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.468e-05/0.7421, allocations: 56.84 kB / 0.9541 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.7422, allocations: 130.6 kB / 0.9542 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.7427, allocations: 0.4895 MB / 0.9547 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/0.7427, allocations: 25.7 kB / 0.9547 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.7428, allocations: 168.5 kB / 0.9549 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/0.7429, allocations: 0.9062 kB / 0.9549 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.7429, allocations: 37.77 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.743, allocations: 336.1 kB / 0.9553 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.7431, allocations: 50.02 kB / 0.9553 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.7431, allocations: 95.86 kB / 0.9554 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.7433, allocations: 113 kB / 0.9555 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7433, allocations: 5.031 kB / 0.9555 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000285/0.7436, allocations: 187.3 kB / 0.9557 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7436, allocations: 5.469 kB / 0.9557 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7436, allocations: 5.5 kB / 0.9557 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7436, allocations: 6.625 kB / 0.9557 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.7437, allocations: 19.7 kB / 0.9557 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.7437, allocations: 6.344 kB / 0.9557 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.7439, allocations: 36.7 kB / 0.9558 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.7439, allocations: 7.469 kB / 0.9558 GB, free: 4.395 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.0001241/0.744, allocations: 250.6 kB / 0.956 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.7441, allocations: 123.4 kB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.7441, allocations: 145.4 kB / 0.9563 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.7442, allocations: 179.5 kB / 0.9564 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-05/0.7442, allocations: 180.2 kB / 0.9566 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.7442, allocations: 181.7 kB / 0.9568 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.7444, allocations: 492.9 kB / 0.9573 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.7444, allocations: 106.4 kB / 0.9574 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.7445, allocations: 102.6 kB / 0.9575 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/0.7445, allocations: 184.2 kB / 0.9576 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.7445, allocations: 181.7 kB / 0.9578 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.677e-05/0.7446, allocations: 181.9 kB / 0.958 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.253e-05/0.7446, allocations: 180.2 kB / 0.9581 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.719e-05/0.7447, allocations: 328.4 kB / 0.9585 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.7448, allocations: 213 kB / 0.9587 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.7448, allocations: 194.4 kB / 0.9588 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.7449, allocations: 108.8 kB / 0.9589 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.745, allocations: 177.9 kB / 0.9591 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.745, allocations: 112.9 kB / 0.9592 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003208/0.7453, allocations: 365.9 kB / 0.9596 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7453, allocations: 0 / 0.9596 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002574/0.7456, allocations: 23.91 kB / 0.9596 GB, free: 0.5859 MB / 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.0001429/0.7457, allocations: 177.9 kB / 0.9598 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.7459, allocations: 63.23 kB / 0.9598 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7459, allocations: 0 / 0.9598 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.7459, allocations: 1.375 kB / 0.9598 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.7464, allocations: 0.5502 MB / 0.9604 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.7471, allocations: 0.5408 MB / 0.9609 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.7474, allocations: 0.7748 MB / 0.9617 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.7475, allocations: 21.64 kB / 0.9617 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.7475, allocations: 0 / 0.9617 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of Templates: time 0.00495/0.7525, allocations: 2.623 MB / 0.9642 GB, free: 13.4 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/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