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.0008674/0.0008675, allocations: 98.56 kB / 16.02 MB, free: 76 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.001079/0.001079, allocations: 185.8 kB / 16.92 MB, free: 6.75 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.336 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.418/2.418, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003995, allocations: 12 kB / 0.8167 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.7413, allocations: 142.4 MB / 0.9557 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0009137/0.7423, allocations: 0.4911 MB / 0.9562 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008201/0.7431, allocations: 0.8201 MB / 0.957 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.7431, allocations: 1.219 kB / 0.957 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.7434, allocations: 54.3 kB / 0.9571 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.7434, allocations: 33.64 kB / 0.9571 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.89e-05/0.7435, allocations: 19.16 kB / 0.9571 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.7436, allocations: 84.7 kB / 0.9572 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.7438, allocations: 18.36 kB / 0.9572 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.316e-05/0.7439, allocations: 39.27 kB / 0.9573 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.744, allocations: 79.95 kB / 0.9573 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.744, allocations: 7.219 kB / 0.9573 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.7441, allocations: 3.938 kB / 0.9573 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.7441, allocations: 32.25 kB / 0.9574 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.7442, allocations: 65.61 kB / 0.9574 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.7443, allocations: 84.67 kB / 0.9575 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7443, allocations: 0 / 0.9575 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7443, allocations: 0 / 0.9575 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.7443, allocations: 1.156 kB / 0.9575 GB, free: 6.477 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.0007065/0.745, allocations: 463.3 kB / 0.958 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7451, allocations: 10.25 kB / 0.958 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.7451, allocations: 13.41 kB / 0.958 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.7453, allocations: 208.2 kB / 0.9582 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.7453, allocations: 2.188 kB / 0.9582 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.7453, allocations: 3.969 kB / 0.9582 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.7458, allocations: 171.5 kB / 0.9583 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7458, allocations: 192 / 0.9583 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.7458, allocations: 7.922 kB / 0.9584 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.7458, allocations: 1.531 kB / 0.9584 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.7464, allocations: 201.4 kB / 0.9585 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.7472, allocations: 0.5228 MB / 0.9591 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.7476, allocations: 185.2 kB / 0.9592 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.7479, allocations: 107.6 kB / 0.9593 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.7479, allocations: 1.375 kB / 0.9593 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.7479, allocations: 35.94 kB / 0.9594 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.7479, allocations: 0 / 0.9594 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000955/0.7489, allocations: 338.5 kB / 0.9597 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.7489, allocations: 81.95 kB / 0.9598 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.7491, allocations: 162.5 kB / 0.9599 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.7491, allocations: 25.7 kB / 0.96 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.7491, allocations: 101.2 kB / 0.9601 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.7492, allocations: 27.69 kB / 0.9601 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.7492, allocations: 20.14 kB / 0.9601 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.7493, allocations: 325.8 kB / 0.9604 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.7496, allocations: 94.39 kB / 0.9605 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.7499, allocations: 118.6 kB / 0.9606 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.7504, allocations: 209.9 kB / 0.9608 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7504, allocations: 0 / 0.9608 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005918/0.751, allocations: 235.8 kB / 0.961 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.751, allocations: 5.406 kB / 0.961 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7511, allocations: 0 / 0.961 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.7511, allocations: 1.781 kB / 0.961 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.7513, allocations: 50.27 kB / 0.9611 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7513, allocations: 0.9688 kB / 0.9611 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.7515, allocations: 36.77 kB / 0.9611 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.7515, allocations: 6.188 kB / 0.9611 GB, free: 3.734 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.651e-05/0.7516, allocations: 128.8 kB / 0.9613 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.7516, allocations: 12.59 kB / 0.9613 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.7517, allocations: 20.38 kB / 0.9613 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.7517, allocations: 6.266 kB / 0.9613 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.7517, allocations: 0 / 0.9613 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7517, allocations: 0.875 kB / 0.9613 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.752, allocations: 230.5 kB / 0.9615 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.752, allocations: 1.125 kB / 0.9615 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.7522, allocations: 45.66 kB / 0.9616 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.7522, allocations: 1 kB / 0.9616 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.7522, allocations: 1.219 kB / 0.9616 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7522, allocations: 5.328 kB / 0.9616 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7522, allocations: 0 / 0.9616 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.7529, allocations: 410.5 kB / 0.962 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.7529, allocations: 92.73 kB / 0.962 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.7529, allocations: 1.531 kB / 0.962 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.7531, allocations: 40.11 kB / 0.9621 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.7532, allocations: 11.23 kB / 0.9621 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.7532, allocations: 2.375 kB / 0.9621 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.552e-05/0.7533, allocations: 122.1 kB / 0.9622 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7533, allocations: 0 / 0.9622 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000293/0.7536, allocations: 20.16 kB / 0.9622 GB, free: 2.801 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 (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.0001265/0.7537, allocations: 102.8 kB / 0.9623 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006296/0.7544, allocations: 211.5 kB / 0.9625 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7544, allocations: 0 / 0.9625 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.7547, allocations: 107.2 kB / 0.9626 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.7551, allocations: 9.75 kB / 0.9626 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/0.7556, allocations: 318.2 kB / 0.9629 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.7558, allocations: 0.7169 MB / 0.9636 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.7558, allocations: 13.69 kB / 0.9637 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.7558, allocations: 0 / 0.9637 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of Templates: time 0.003297/0.7591, allocations: 1.482 MB / 0.9651 GB, free: 0.8359 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/jenkins1/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