Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.008003/0.008003, allocations: 102.3 kB / 15.73 MB, free: 6.496 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.001633/0.001633, allocations: 197.7 kB / 16.68 MB, free: 6.375 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3247, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001791/0.3265, allocations: 0.7762 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000973/0.3274, allocations: 0.8292 MB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.3275, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.3277, allocations: 55.8 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.3278, allocations: 31.83 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.795e-05/0.3279, allocations: 27.91 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.328, allocations: 87.69 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.3281, allocations: 27.95 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.3282, allocations: 39.84 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.3284, allocations: 91.77 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.3284, allocations: 8 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.624e-05/0.3284, allocations: 8 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.3285, allocations: 31.91 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.3285, allocations: 43.73 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.3287, allocations: 123.4 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3287, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3287, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3287, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 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.0007617/0.3295, allocations: 478.7 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3295, allocations: 8.031 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.3296, allocations: 8.891 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.3297, allocations: 201.7 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3298, allocations: 8.375 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.3298, allocations: 4.375 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.3302, allocations: 155.8 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3302, allocations: 192 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3302, allocations: 3.938 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3302, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.3307, allocations: 171.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.3315, allocations: 0.5008 MB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.3318, allocations: 157.1 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.3321, allocations: 93.67 kB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.3321, allocations: 8 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3321, allocations: 34.55 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3321, allocations: 0 / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0008469/0.333, allocations: 285.3 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.333, allocations: 81.11 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3332, allocations: 163.9 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3332, allocations: 25.7 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.3332, allocations: 108.1 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.3333, allocations: 27.8 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.3333, allocations: 25.66 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3334, allocations: 326.8 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.3337, allocations: 75.92 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.3339, allocations: 93.64 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.3344, allocations: 181.9 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3344, allocations: 0 / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005074/0.3349, allocations: 217.4 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3349, allocations: 4 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3349, allocations: 3.938 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3349, allocations: 4 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.3351, allocations: 31.95 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3351, allocations: 4 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.3352, allocations: 31.91 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3353, allocations: 7.984 kB / 1.226 GB, free: 7.832 MB / 0.9825 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.0001012/0.3354, allocations: 122.3 kB / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.3354, allocations: 11.95 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.3354, allocations: 24.23 kB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3355, allocations: 0 / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3355, allocations: 0 / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3355, allocations: 4 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3357, allocations: 229.5 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3357, allocations: 4 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.3359, allocations: 39.89 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3359, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3359, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3359, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3359, allocations: 4 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.3365, allocations: 378.6 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.3365, allocations: 89.02 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.3365, allocations: 0 / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3367, allocations: 31.95 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.3368, allocations: 8 kB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3368, allocations: 0 / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.219e-05/0.3369, allocations: 133.6 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3369, allocations: 0 / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002692/0.3371, allocations: 23.94 kB / 1.227 GB, free: 6.656 MB / 0.9825 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.0001492/0.3373, allocations: 103.2 kB / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005257/0.3378, allocations: 175.7 kB / 1.227 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3378, allocations: 0 / 1.227 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.3381, allocations: 91.91 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.3384, allocations: 15.94 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.339, allocations: 266.8 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3393, allocations: 0.708 MB / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.694e-05/0.3393, allocations: 32.42 kB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.3394, allocations: 19.38 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3394, allocations: 0 / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of Templates: time 0.003469/0.3428, allocations: 1.208 MB / 1.23 GB, free: 3.996 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches