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.001494/0.001494, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001638/0.001638, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 66.73 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3149, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002254/0.3172, allocations: 0.7642 MB / 0.9519 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3183, allocations: 0.8372 MB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.3184, allocations: 3.938 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.3186, allocations: 59.8 kB / 0.9528 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.3186, allocations: 31.83 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.585e-05/0.3187, allocations: 23.97 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3189, allocations: 83.75 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.319, allocations: 27.98 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.956e-05/0.3191, allocations: 43.83 kB / 0.953 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3193, allocations: 79.8 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.3193, allocations: 8 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.3193, allocations: 8 kB / 0.9531 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.3194, allocations: 35.89 kB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.3195, allocations: 51.72 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3196, allocations: 111.5 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3196, allocations: 0 / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3196, allocations: 4 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3196, allocations: 0 / 0.9532 GB, free: 5.898 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007805/0.3204, allocations: 462.9 kB / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3205, allocations: 12.03 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.3205, allocations: 16.73 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3208, allocations: 204 kB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3208, allocations: 4.375 kB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.3208, allocations: 8.375 kB / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.3212, allocations: 163.7 kB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3213, allocations: 192 / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.3213, allocations: 3.938 kB / 0.9541 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3213, allocations: 0 / 0.9541 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.3218, allocations: 167.8 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009432/0.3227, allocations: 0.5008 MB / 0.9547 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.3232, allocations: 165.1 kB / 0.9549 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.3234, allocations: 93.67 kB / 0.955 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3234, allocations: 0 / 0.955 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.3235, allocations: 38.56 kB / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3235, allocations: 0 / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0008676/0.3244, allocations: 285.2 kB / 0.9553 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.3245, allocations: 81.11 kB / 0.9554 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.3246, allocations: 162.2 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3247, allocations: 25.7 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.3247, allocations: 108.1 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.3248, allocations: 31.55 kB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.3249, allocations: 17.72 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.325, allocations: 326.8 kB / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.3253, allocations: 83.86 kB / 0.9561 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.3255, allocations: 93.64 kB / 0.9562 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.326, allocations: 173.5 kB / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.326, allocations: 4 kB / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004941/0.3265, allocations: 201.4 kB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3265, allocations: 6.188 kB / 0.9565 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3265, allocations: 4 kB / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3265, allocations: 0 / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.3267, allocations: 39.95 kB / 0.9566 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3268, allocations: 0 / 0.9566 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.3269, allocations: 27.91 kB / 0.9566 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3269, allocations: 0 / 0.9566 GB, free: 2.184 MB / 0.7325 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.000116/0.327, allocations: 136.2 kB / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.3271, allocations: 19.75 kB / 0.9568 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.3271, allocations: 24.23 kB / 0.9568 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3271, allocations: 0 / 0.9568 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3271, allocations: 0 / 0.9568 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3271, allocations: 0 / 0.9568 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.3274, allocations: 225.5 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3274, allocations: 480 / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.3276, allocations: 35.89 kB / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3276, allocations: 4 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3276, allocations: 8 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3276, allocations: 0 / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3276, allocations: 0 / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.3282, allocations: 382.5 kB / 0.9574 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.3283, allocations: 92.91 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3283, allocations: 8 kB / 0.9575 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.3285, allocations: 19.97 kB / 0.9575 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.3286, allocations: 15.92 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.3286, allocations: 4 kB / 0.9575 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.935e-05/0.3287, allocations: 123.2 kB / 0.9577 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3287, allocations: 4 kB / 0.9577 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002686/0.329, allocations: 20 kB / 0.9577 GB, free: 0.9922 MB / 0.7325 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.0002182/0.3292, allocations: 99.23 kB / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.3297, allocations: 175.7 kB / 0.9579 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3298, allocations: 4 kB / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.33, allocations: 87.92 kB / 0.958 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.3304, allocations: 19.92 kB / 0.9581 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.3311, allocations: 259.1 kB / 0.9583 GB, free: 328 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3314, allocations: 0.7195 MB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.3316, allocations: 27.97 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.3316, allocations: 11.44 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.3316, allocations: 0 / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of Templates: time 0.00353/0.3352, allocations: 1.194 MB / 0.9602 GB, free: 14.36 MB / 0.7481 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 -s gbode -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