Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 110.6 kB / 16.42 MB, free: 6.465 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.001704/0.001704, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.409/1.409, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.83/2.83, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 59.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8568/0.8594, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001881/0.8613, allocations: 0.7661 MB / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009361/0.8623, allocations: 0.8234 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.8624, allocations: 4 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.8626, allocations: 59.78 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.8626, allocations: 39.83 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.328e-05/0.8627, allocations: 23.97 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.8629, allocations: 83.75 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.863, allocations: 23.98 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.8631, allocations: 51.77 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.8633, allocations: 79.78 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.8633, allocations: 8 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.098e-05/0.8633, allocations: 8 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.8634, allocations: 31.91 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.8635, allocations: 47.73 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.8636, allocations: 115.6 kB / 1.211 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8636, allocations: 0 / 1.211 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8637, allocations: 0 / 1.211 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8637, allocations: 4 kB / 1.211 GB, free: 11.59 MB / 0.9356 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.0007976/0.8645, allocations: 460.8 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.8645, allocations: 8.031 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.8646, allocations: 16.75 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.8647, allocations: 212.8 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.8648, allocations: 8.375 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.8648, allocations: 4.375 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.8652, allocations: 147.9 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.8652, allocations: 192 / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.8652, allocations: 3.938 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.8652, allocations: 8 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005424/0.8658, allocations: 171.8 kB / 1.212 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.8666, allocations: 0.5007 MB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.867, allocations: 161.1 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.8673, allocations: 97.73 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.8673, allocations: 0 / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.8674, allocations: 34.55 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.8674, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0009693/0.8683, allocations: 289.6 kB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.8684, allocations: 77.11 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.8685, allocations: 169.7 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.8686, allocations: 29.64 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.8686, allocations: 108 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.8687, allocations: 31.64 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.8687, allocations: 21.72 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8688, allocations: 326.8 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.8691, allocations: 75.92 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.8694, allocations: 93.62 kB / 1.214 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.8699, allocations: 173.5 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8699, allocations: 0 / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005663/0.8704, allocations: 213.3 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.8705, allocations: 8 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.8705, allocations: 3.938 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8705, allocations: 0 / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.8707, allocations: 39.95 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.8707, allocations: 4 kB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.8709, allocations: 19.97 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.8709, allocations: 4 kB / 1.214 GB, free: 7.867 MB / 0.9356 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.0001076/0.871, allocations: 137.7 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.8711, allocations: 7.906 kB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.8711, allocations: 20.23 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8711, allocations: 0 / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8711, allocations: 0 / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.8712, allocations: 92.92 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.8712, allocations: 4 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.8714, allocations: 27.95 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.8715, allocations: 11.92 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007415/0.8722, allocations: 376 kB / 1.215 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000663/0.8729, allocations: 458.3 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002757/0.8732, allocations: 95.83 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.954e-05/0.8733, allocations: 123 kB / 1.215 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of Backend: time 2.61e-07/0.8733, allocations: 0 / 1.215 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006971/0.874, allocations: 170.3 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000593/0.8746, allocations: 0.6628 MB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of Templates: time 0.004151/0.8787, allocations: 1.622 MB / 1.218 GB, free: 3.992 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches