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.001631/0.001631, allocations: 113.6 kB / 16.42 MB, free: 6.492 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.001933/0.001933, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.391/1.391, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.282/2.282, allocations: 390.2 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.9516 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9959/0.9971, allocations: 140.4 MB / 1.089 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.00199/0.9992, allocations: 0.777 MB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008377/1, allocations: 0.8245 MB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/1, allocations: 5.344 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002299/1, allocations: 56 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.554e-05/1, allocations: 45.36 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.732e-05/1, allocations: 17.47 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/1.001, allocations: 88.62 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/1.001, allocations: 17.8 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.615e-05/1.001, allocations: 46.31 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/1.001, allocations: 79.83 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/1.001, allocations: 7.531 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/1.001, allocations: 7.938 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.281e-05/1.001, allocations: 37.56 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/1.001, allocations: 44.88 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/1.001, allocations: 120.3 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.002, allocations: 1.312 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/1.002, allocations: 0 / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.551e-06/1.002, allocations: 0 / 1.091 GB, free: 4.137 MB / 0.8575 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.0007556/1.002, allocations: 467 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/1.002, allocations: 9.25 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/1.002, allocations: 13.75 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/1.003, allocations: 203.1 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.003, allocations: 2.75 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/1.003, allocations: 11.25 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/1.003, allocations: 152.1 kB / 1.092 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.003, allocations: 1.625 kB / 1.092 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/1.003, allocations: 8.688 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.003, allocations: 0.9375 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/1.004, allocations: 167.1 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/1.005, allocations: 0.5057 MB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/1.005, allocations: 166.8 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/1.005, allocations: 98.33 kB / 1.093 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/1.005, allocations: 5.5 kB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/1.005, allocations: 32.98 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/1.005, allocations: 0 / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0009416/1.006, allocations: 284.8 kB / 1.093 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/1.006, allocations: 78.73 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/1.006, allocations: 166.3 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/1.006, allocations: 26.39 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/1.006, allocations: 108.2 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/1.007, allocations: 29.5 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/1.007, allocations: 29.59 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/1.007, allocations: 322.2 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/1.007, allocations: 74.77 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/1.007, allocations: 93.5 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/1.008, allocations: 176.6 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.008, allocations: 4 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000596/1.008, allocations: 208.6 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.008, allocations: 5.75 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.008, allocations: 0.9062 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.008, allocations: 1.625 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/1.009, allocations: 33.62 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.009, allocations: 0.8125 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/1.009, allocations: 31.8 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/1.009, allocations: 6.531 kB / 1.094 GB, free: 1.859 MB / 0.8575 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 9.492e-05/1.009, allocations: 128.2 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/1.009, allocations: 9.453 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/1.009, allocations: 22.19 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.009, allocations: 1.797 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/1.009, allocations: 0.6875 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/1.009, allocations: 89.53 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/1.009, allocations: 1.156 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/1.009, allocations: 27.53 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/1.009, allocations: 19.58 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007818/1.01, allocations: 376.8 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006436/1.011, allocations: 455.1 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003081/1.011, allocations: 85.98 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.972e-05/1.011, allocations: 124.4 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of Backend: time 3.61e-07/1.011, allocations: 3.938 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007332/1.012, allocations: 182 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005936/1.013, allocations: 0.6642 MB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of Templates: time 0.005289/1.018, allocations: 1.63 MB / 1.098 GB, free: 116 kB / 0.8575 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