Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008001/0.0008001, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008537/0.0008538, allocations: 172.7 kB / 15.95 MB, free: 208 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.568/1.568, allocations: 223.3 MB / 240 MB, free: 5.43 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.664/2.664, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004233, allocations: 12 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8619/0.8623, allocations: 142.4 MB / 0.9545 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001223/0.8636, allocations: 475.8 kB / 0.9549 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.8651, allocations: 0.8274 MB / 0.9557 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.8653, allocations: 0 / 0.9557 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.8655, allocations: 59.12 kB / 0.9558 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.84e-05/0.8656, allocations: 30.25 kB / 0.9558 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.432e-05/0.8657, allocations: 13.89 kB / 0.9558 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.8659, allocations: 82.45 kB / 0.9559 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.8661, allocations: 24.7 kB / 0.9559 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.8662, allocations: 30.41 kB / 0.956 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.8664, allocations: 72.75 kB / 0.956 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.8664, allocations: 3.844 kB / 0.956 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.179e-05/0.8664, allocations: 3.438 kB / 0.956 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.8665, allocations: 27.94 kB / 0.9561 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.8666, allocations: 41.86 kB / 0.9561 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.8667, allocations: 80.69 kB / 0.9562 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.8667, allocations: 4 kB / 0.9562 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.865e-06/0.8667, allocations: 1.219 kB / 0.9562 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8667, allocations: 0 / 0.9562 GB, free: 6.457 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008197/0.8676, allocations: 468.3 kB / 0.9566 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.8676, allocations: 10.38 kB / 0.9566 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.8677, allocations: 12.23 kB / 0.9566 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.8679, allocations: 203.1 kB / 0.9568 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.8679, allocations: 9.25 kB / 0.9568 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.868, allocations: 4.031 kB / 0.9569 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.8684, allocations: 166.8 kB / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8684, allocations: 0 / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.8684, allocations: 0 / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.8684, allocations: 6.219 kB / 0.957 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005376/0.869, allocations: 207.5 kB / 0.9572 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/0.8699, allocations: 0.513 MB / 0.9577 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.8703, allocations: 178.7 kB / 0.9579 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.8705, allocations: 113 kB / 0.958 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.8706, allocations: 5.359 kB / 0.958 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.8706, allocations: 39.89 kB / 0.958 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/0.8706, allocations: 0 / 0.958 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0009395/0.8715, allocations: 333.1 kB / 0.9584 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.8716, allocations: 78.7 kB / 0.9584 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.8717, allocations: 164.8 kB / 0.9586 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.8718, allocations: 29.7 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.8718, allocations: 101.3 kB / 0.9587 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.8719, allocations: 31.22 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.8719, allocations: 1.312 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.872, allocations: 326 kB / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.8722, allocations: 98.23 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.8725, allocations: 109.6 kB / 0.9593 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.8727, allocations: 97.05 kB / 0.9593 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.8728, allocations: 0 / 0.9593 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005513/0.8733, allocations: 246.2 kB / 0.9596 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.8733, allocations: 9.453 kB / 0.9596 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.8734, allocations: 1.375 kB / 0.9596 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.8734, allocations: 5.312 kB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.8736, allocations: 44.83 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.8736, allocations: 1.375 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.8738, allocations: 32.58 kB / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.8738, allocations: 6.75 kB / 0.9597 GB, free: 3.785 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.112e-05/0.8739, allocations: 124.8 kB / 0.9598 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.8739, allocations: 17.3 kB / 0.9598 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.874, allocations: 24.33 kB / 0.9598 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.874, allocations: 1.375 kB / 0.9598 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.874, allocations: 1.375 kB / 0.9598 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.874, allocations: 0 / 0.9598 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.8743, allocations: 222.2 kB / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.8743, allocations: 0.9375 kB / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.8745, allocations: 49.89 kB / 0.9601 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.8745, allocations: 1 kB / 0.9601 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.8745, allocations: 0.9062 kB / 0.9601 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.8745, allocations: 5.047 kB / 0.9601 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8745, allocations: 0.8438 kB / 0.9601 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.8751, allocations: 409.9 kB / 0.9605 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.8752, allocations: 92.2 kB / 0.9606 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.8752, allocations: 1.094 kB / 0.9606 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.8754, allocations: 36.86 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.8754, allocations: 23.28 kB / 0.9606 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.8755, allocations: 2.281 kB / 0.9606 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.219e-05/0.8756, allocations: 121.3 kB / 0.9608 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8756, allocations: 0 / 0.9608 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003349/0.8759, allocations: 16.19 kB / 0.9608 GB, free: 2.852 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001465/0.8761, allocations: 105.9 kB / 0.9609 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005527/0.8766, allocations: 207.5 kB / 0.9611 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8766, allocations: 0 / 0.9611 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.8769, allocations: 107.4 kB / 0.9612 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.8773, allocations: 12.81 kB / 0.9612 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.8778, allocations: 281.6 kB / 0.9615 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.878, allocations: 0.7148 MB / 0.9622 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.914e-05/0.8781, allocations: 33.56 kB / 0.9622 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.8782, allocations: 11.31 kB / 0.9622 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.8782, allocations: 0 / 0.9622 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of Templates: time 0.003858/0.882, allocations: 0.9432 MB / 0.9631 GB, free: 1.184 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches