Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 117.9 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 71.88 kB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3166, allocations: 160.7 MB / 1.214 GB, free: 0.9727 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001932/0.3185, allocations: 0.7711 MB / 1.215 GB, free: 204 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.0009735/0.3195, allocations: 0.8312 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.3196, allocations: 0 / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.3198, allocations: 63.78 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.3198, allocations: 31.83 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.459e-05/0.3199, allocations: 19.98 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.32, allocations: 95.67 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3201, allocations: 15.98 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.3202, allocations: 43.89 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3204, allocations: 91.77 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.3204, allocations: 4 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.3204, allocations: 8 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.3205, allocations: 35.84 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.3205, allocations: 47.73 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.3207, allocations: 123.4 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3207, allocations: 0 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3207, allocations: 0 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.351e-06/0.3207, allocations: 3.938 kB / 1.216 GB, free: 14.78 MB / 0.9669 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.0007781/0.3215, allocations: 462.8 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3215, allocations: 19.98 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.3216, allocations: 12.84 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3218, allocations: 200.2 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3218, allocations: 4.375 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3218, allocations: 4.375 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.3222, allocations: 151.8 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3222, allocations: 4.125 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3222, allocations: 11.94 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3222, allocations: 0 / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.3227, allocations: 171.8 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000821/0.3236, allocations: 0.5046 MB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.324, allocations: 157.1 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.3242, allocations: 93.73 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.3243, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.3243, allocations: 42.48 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 2.665e-06/0.3243, allocations: 7.922 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0009001/0.3252, allocations: 285.3 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3252, allocations: 77.11 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.3254, allocations: 173.1 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3254, allocations: 25.7 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.3255, allocations: 100.1 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.3255, allocations: 31.73 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.3256, allocations: 17.72 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3257, allocations: 330.8 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.326, allocations: 75.92 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.3262, allocations: 93.64 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.3267, allocations: 173.5 kB / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3267, allocations: 0 / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005784/0.3273, allocations: 209.4 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3273, allocations: 4 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3273, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3273, allocations: 4 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.3275, allocations: 39.89 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3275, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.3277, allocations: 27.95 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3277, allocations: 0 / 1.22 GB, free: 11.07 MB / 0.9669 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.0001098/0.3278, allocations: 129.8 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.3278, allocations: 11.94 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.3279, allocations: 20.25 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3279, allocations: 4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3279, allocations: 3.938 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3279, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.3282, allocations: 237.4 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3282, allocations: 4 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3284, allocations: 31.95 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3284, allocations: 4 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3284, allocations: 0 / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3284, allocations: 7.938 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3284, allocations: 160 / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/0.3291, allocations: 387 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.3291, allocations: 93.02 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3291, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.3293, allocations: 23.95 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.3294, allocations: 15.97 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3294, allocations: 8 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.196e-05/0.3295, allocations: 121 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3295, allocations: 0 / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000267/0.3297, allocations: 19.94 kB / 1.221 GB, free: 9.867 MB / 0.9669 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.0001379/0.3299, allocations: 111.2 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005696/0.3305, allocations: 167.8 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3305, allocations: 0 / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.3307, allocations: 91.84 kB / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.3311, allocations: 16 kB / 1.221 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.3316, allocations: 284.6 kB / 1.221 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.332, allocations: 0.7197 MB / 1.222 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.332, allocations: 11.44 kB / 1.222 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.332, allocations: 0 / 1.222 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of Templates: time 0.003068/0.3351, allocations: 1.502 MB / 1.224 GB, free: 6.906 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.595873511163518]