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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001192/0.001192, allocations: 109.1 kB / 16.37 MB, free: 5.547 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.001174/0.001174, allocations: 194.5 kB / 17.3 MB, free: 5.184 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.488/2.488, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 72.33 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3232, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001973/0.3252, allocations: 0.7724 MB / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.3261, allocations: 0.8273 MB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.3262, allocations: 3.938 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.3264, allocations: 59.8 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.3265, allocations: 35.83 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.419e-05/0.3265, allocations: 19.97 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3267, allocations: 87.81 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3268, allocations: 15.98 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.3269, allocations: 55.7 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.3271, allocations: 79.8 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.3271, allocations: 8 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.769e-05/0.3271, allocations: 8 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.3272, allocations: 43.88 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.3273, allocations: 39.86 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.3274, allocations: 119.5 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3275, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3275, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3275, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.8106 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.0006994/0.3282, allocations: 464.2 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.3282, allocations: 11.97 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3283, allocations: 12.75 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.3285, allocations: 211.9 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3285, allocations: 4.375 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.3285, allocations: 8.375 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.3289, allocations: 151.8 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3289, allocations: 192 / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3289, allocations: 7.938 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3289, allocations: 4 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.3294, allocations: 167.8 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.3302, allocations: 0.5008 MB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.3306, allocations: 165.1 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.3309, allocations: 97.73 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3309, allocations: 4 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.331, allocations: 30.56 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.331, allocations: 0 / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0008571/0.3318, allocations: 285.3 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.3319, allocations: 81.11 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.332, allocations: 164.2 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3321, allocations: 25.7 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.3321, allocations: 108.1 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.3322, allocations: 27.55 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.3322, allocations: 25.72 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3324, allocations: 330.8 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.3326, allocations: 75.86 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.3329, allocations: 93.62 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.3333, allocations: 173.6 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3333, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005036/0.3338, allocations: 209.8 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3338, allocations: 4 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3339, allocations: 4 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3339, allocations: 3.938 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.3341, allocations: 35.95 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3341, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.3342, allocations: 31.81 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3343, allocations: 8.047 kB / 1.032 GB, free: 12.12 MB / 0.8106 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.0001136/0.3344, allocations: 136.7 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.3344, allocations: 15.89 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.3345, allocations: 24.23 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3345, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3345, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3345, allocations: 4 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.3348, allocations: 221.5 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3348, allocations: 0 / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.335, allocations: 39.95 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.335, allocations: 0 / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.335, allocations: 0 / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.335, allocations: 4 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.335, allocations: 4 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.3356, allocations: 386.4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.3357, allocations: 89 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.3357, allocations: 0 / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.3359, allocations: 23.97 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.336, allocations: 15.98 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.336, allocations: 0 / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.097e-05/0.3361, allocations: 123.2 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3361, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002756/0.3364, allocations: 20 kB / 1.033 GB, free: 10.95 MB / 0.8106 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.0001309/0.3365, allocations: 103.2 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.337, allocations: 171.7 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.337, allocations: 3.938 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.3373, allocations: 91.86 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.3377, allocations: 19.92 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.3382, allocations: 263.2 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.3386, allocations: 0.708 MB / 1.035 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.066e-05/0.3387, allocations: 27.97 kB / 1.035 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.3387, allocations: 11.44 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3387, allocations: 4 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.003648/0.3424, allocations: 1.197 MB / 1.036 GB, free: 8.293 MB / 0.8106 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 -s gbode -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