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.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.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.00154/0.00154, allocations: 108 kB / 15.61 MB, free: 152 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.001979/0.001979, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.674/1.674, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.623/2.623, allocations: 390.2 MB / 0.6646 GB, free: 292 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 71.89 kB / 0.8125 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9969/0.9984, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002424/1.001, allocations: 0.7628 MB / 0.9503 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001113/1.002, allocations: 0.825 MB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.633e-05/1.002, allocations: 1.375 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003746/1.003, allocations: 65.91 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/1.003, allocations: 30.97 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/1.003, allocations: 17.34 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002212/1.003, allocations: 98.98 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/1.003, allocations: 19.47 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/1.003, allocations: 40.2 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/1.004, allocations: 85.34 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/1.004, allocations: 7.5 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.848e-05/1.004, allocations: 8.812 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/1.004, allocations: 35.19 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/1.004, allocations: 44.47 kB / 0.9516 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/1.004, allocations: 113.4 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/1.004, allocations: 0 / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.827e-06/1.004, allocations: 4 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.435e-05/1.004, allocations: 1.469 kB / 0.9517 GB, free: 7.539 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.001142/1.005, allocations: 466.7 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.673e-05/1.006, allocations: 10.59 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/1.006, allocations: 8.781 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/1.006, allocations: 207.6 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/1.006, allocations: 7.031 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/1.006, allocations: 11.88 kB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/1.007, allocations: 148.5 kB / 0.9525 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.007, allocations: 192 / 0.9525 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/1.007, allocations: 13.06 kB / 0.9525 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/1.007, allocations: 1.469 kB / 0.9525 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/1.007, allocations: 171 kB / 0.9527 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/1.008, allocations: 0.5005 MB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/1.009, allocations: 166.2 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/1.009, allocations: 98.61 kB / 0.9534 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/1.009, allocations: 1.094 kB / 0.9534 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.009, allocations: 31.72 kB / 0.9535 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/1.009, allocations: 3.938 kB / 0.9535 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.001132/1.01, allocations: 289.5 kB / 0.9537 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/1.011, allocations: 79.55 kB / 0.9538 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/1.011, allocations: 161.5 kB / 0.954 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/1.011, allocations: 29.7 kB / 0.954 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/1.011, allocations: 109.6 kB / 0.9541 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/1.011, allocations: 22.97 kB / 0.9541 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/1.011, allocations: 28.2 kB / 0.9542 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.011, allocations: 322.1 kB / 0.9545 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/1.011, allocations: 76.77 kB / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/1.012, allocations: 95.78 kB / 0.9546 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/1.012, allocations: 176.1 kB / 0.9548 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.012, allocations: 1.094 kB / 0.9548 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006283/1.013, allocations: 201.5 kB / 0.955 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/1.013, allocations: 6.781 kB / 0.955 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.013, allocations: 1.188 kB / 0.955 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/1.013, allocations: 0 / 0.955 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/1.013, allocations: 39.42 kB / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.013, allocations: 1.469 kB / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/1.014, allocations: 24.7 kB / 0.9551 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/1.014, allocations: 6.531 kB / 0.9551 GB, free: 4.816 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 0.0001373/1.014, allocations: 132.8 kB / 0.9552 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/1.014, allocations: 12.41 kB / 0.9552 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/1.014, allocations: 24.91 kB / 0.9552 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.014, allocations: 1.156 kB / 0.9552 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.014, allocations: 1.156 kB / 0.9552 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.014, allocations: 5.266 kB / 0.9552 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/1.014, allocations: 226.2 kB / 0.9555 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.014, allocations: 1 kB / 0.9555 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/1.014, allocations: 29.94 kB / 0.9555 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.014, allocations: 1.031 kB / 0.9555 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/1.014, allocations: 7.609 kB / 0.9555 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.014, allocations: 4 kB / 0.9555 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.014, allocations: 0 / 0.9555 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/1.015, allocations: 383.9 kB / 0.9559 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/1.015, allocations: 92.14 kB / 0.956 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/1.015, allocations: 9.188 kB / 0.956 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/1.016, allocations: 25.42 kB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.016, allocations: 12.39 kB / 0.956 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/1.016, allocations: 2.281 kB / 0.956 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001354/1.016, allocations: 121.5 kB / 0.9561 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.016, allocations: 0 / 0.9561 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003025/1.016, allocations: 20.22 kB / 0.9561 GB, free: 3.879 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.0002557/1.016, allocations: 103 kB / 0.9562 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007807/1.017, allocations: 180.8 kB / 0.9564 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.017, allocations: 0 / 0.9564 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/1.017, allocations: 92.11 kB / 0.9565 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/1.018, allocations: 9.5 kB / 0.9565 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008675/1.019, allocations: 268.7 kB / 0.9568 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/1.019, allocations: 0.7116 MB / 0.9575 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001258/1.019, allocations: 34.59 kB / 0.9575 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/1.019, allocations: 15.16 kB / 0.9575 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/1.019, allocations: 1.281 kB / 0.9575 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of Templates: time 0.00492/1.024, allocations: 1.189 MB / 0.9587 GB, free: 2.129 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