Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 170.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.907/2.907, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.9815 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.519e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002164/0.002199, allocations: 0.7495 MB / 0.9822 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.00359, allocations: 0.8509 MB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.003647, allocations: 7.938 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.003873, allocations: 47.86 kB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/0.003948, allocations: 43.7 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.325e-05/0.004041, allocations: 23.97 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.004192, allocations: 91.73 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.004335, allocations: 15.94 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.00446, allocations: 55.88 kB / 0.9833 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.004636, allocations: 79.83 kB / 0.9834 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.00467, allocations: 8 kB / 0.9834 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.004691, allocations: 8 kB / 0.9834 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.525e-05/0.004777, allocations: 35.91 kB / 0.9835 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.004833, allocations: 31.84 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.005036, allocations: 123.6 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.00504, allocations: 0 / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005041, allocations: 4 kB / 0.9836 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.005045, allocations: 0 / 0.9836 GB, free: 9.68 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.0008422/0.005888, allocations: 385.8 kB / 0.984 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.005933, allocations: 12.02 kB / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.005984, allocations: 16.84 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.006224, allocations: 153.4 kB / 0.9842 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.006235, allocations: 4.375 kB / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.006254, allocations: 4.375 kB / 0.9842 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.006702, allocations: 151.9 kB / 0.9843 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.006711, allocations: 192 / 0.9843 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.006726, allocations: 384 / 0.9843 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.00673, allocations: 384 / 0.9843 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.007328, allocations: 183.7 kB / 0.9845 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.008174, allocations: 432.6 kB / 0.9849 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.008633, allocations: 169.1 kB / 0.9851 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.008924, allocations: 89.73 kB / 0.9852 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.008938, allocations: 0 / 0.9852 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.008978, allocations: 42.5 kB / 0.9852 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.008979, allocations: 0 / 0.9852 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0009862/0.009965, allocations: 289.3 kB / 0.9855 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.01003, allocations: 77.11 kB / 0.9855 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.0102, allocations: 164.4 kB / 0.9857 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.01022, allocations: 25.7 kB / 0.9857 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.01029, allocations: 104.1 kB / 0.9858 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.01034, allocations: 31.73 kB / 0.9859 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.0104, allocations: 25.66 kB / 0.9859 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.01056, allocations: 322.8 kB / 0.9862 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.01084, allocations: 75.92 kB / 0.9863 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.01113, allocations: 93.64 kB / 0.9863 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.01167, allocations: 177.5 kB / 0.9865 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01167, allocations: 0 / 0.9865 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006224/0.01229, allocations: 217.3 kB / 0.9867 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01231, allocations: 4 kB / 0.9867 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01231, allocations: 0 / 0.9867 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01233, allocations: 4 kB / 0.9867 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.01256, allocations: 31.95 kB / 0.9868 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01257, allocations: 4 kB / 0.9868 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.01271, allocations: 19.97 kB / 0.9868 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01272, allocations: 4 kB / 0.9868 GB, free: 6.223 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.0001294/0.01285, allocations: 141.6 kB / 0.9869 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.0129, allocations: 15.89 kB / 0.9869 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.01296, allocations: 20.33 kB / 0.987 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01296, allocations: 0 / 0.987 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.01296, allocations: 0 / 0.987 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.01297, allocations: 4 kB / 0.987 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.01326, allocations: 157.7 kB / 0.9871 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.01326, allocations: 4 kB / 0.9871 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.01345, allocations: 31.95 kB / 0.9871 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01346, allocations: 8 kB / 0.9872 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.01347, allocations: 7.938 kB / 0.9872 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01348, allocations: 0 / 0.9872 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01348, allocations: 0 / 0.9872 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000718/0.01419, allocations: 378.5 kB / 0.9875 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.01421, allocations: 11.91 kB / 0.9875 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.01424, allocations: 7.938 kB / 0.9875 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.01445, allocations: 27.97 kB / 0.9876 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.01451, allocations: 7.984 kB / 0.9876 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.01452, allocations: 4 kB / 0.9876 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001317/0.01465, allocations: 131 kB / 0.9877 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01465, allocations: 0 / 0.9877 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002856/0.01494, allocations: 20 kB / 0.9877 GB, free: 5.211 MB / 0.9356 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.0001494/0.01509, allocations: 91.25 kB / 0.9878 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006301/0.01572, allocations: 175.8 kB / 0.988 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01572, allocations: 0 / 0.988 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.01604, allocations: 95.84 kB / 0.9881 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.01641, allocations: 15.94 kB / 0.9881 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.01699, allocations: 261.3 kB / 0.9883 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.0171, allocations: 92.31 kB / 0.9884 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.977e-05/0.01719, allocations: 31.95 kB / 0.9885 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.01725, allocations: 16.5 kB / 0.9885 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.01725, allocations: 0 / 0.9885 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of Templates: time 0.004601/0.02185, allocations: 1.236 MB / 0.9897 GB, free: 3.164 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.36094980686903]