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.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.001029/0.001029, allocations: 71.75 kB / 20.97 MB, free: 3.574 MB / 18.57 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.001033/0.001033, allocations: 173 kB / 24.28 MB, free: 272 kB / 18.57 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.06/1.06, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.87/1.87, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_11_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.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 448 / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.45e-05/4.784e-05, allocations: 5.406 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002526/0.002574, allocations: 0.7719 MB / 0.7879 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003748, allocations: 0.8718 MB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.518e-05/0.003823, allocations: 7.938 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.004035, allocations: 51.84 kB / 0.7888 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.181e-05/0.004087, allocations: 41.03 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.385e-05/0.004171, allocations: 23.97 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.004299, allocations: 88.3 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.004451, allocations: 12.91 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.004556, allocations: 59.86 kB / 0.789 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.004714, allocations: 80.72 kB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.004749, allocations: 8 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.004763, allocations: 10.97 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.004844, allocations: 39.89 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.004893, allocations: 23.92 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.00507, allocations: 79.72 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.005076, allocations: 4 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.005078, allocations: 0 / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.005085, allocations: 0 / 0.7893 GB, free: 10.55 MB / 0.7448 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.0006377/0.005722, allocations: 481.2 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.005772, allocations: 8.031 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.005825, allocations: 13.48 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.005998, allocations: 162.5 kB / 0.7899 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.006008, allocations: 5.375 kB / 0.7899 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.006023, allocations: 4.375 kB / 0.7899 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.006255, allocations: 114.9 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.006263, allocations: 5.719 kB / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.006275, allocations: 384 / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.006283, allocations: 384 / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.006365, allocations: 31.86 kB / 0.7901 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.006941, allocations: 488 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.007097, allocations: 92.47 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.007149, allocations: 23.38 kB / 0.7906 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.007162, allocations: 4 kB / 0.7906 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.007191, allocations: 41.42 kB / 0.7907 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.013e-06/0.007193, allocations: 0 / 0.7907 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002521/0.007445, allocations: 89.78 kB / 0.7908 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.00749, allocations: 81.64 kB / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.007613, allocations: 211.6 kB / 0.7911 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.007628, allocations: 34.41 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.007693, allocations: 150.8 kB / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.007724, allocations: 24.38 kB / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.007765, allocations: 28.97 kB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.007883, allocations: 0.4962 MB / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/0.007918, allocations: 4 kB / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.186e-05/0.00796, allocations: 39.3 kB / 0.7918 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.98e-05/0.00803, allocations: 47.92 kB / 0.7919 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008032, allocations: 0 / 0.7919 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001106/0.008142, allocations: 82.16 kB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.008158, allocations: 4 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.008163, allocations: 0.6875 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.00818, allocations: 4 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.008298, allocations: 25.25 kB / 0.792 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.008307, allocations: 4 kB / 0.792 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.00835, allocations: 17.3 kB / 0.792 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.008359, allocations: 8 kB / 0.792 GB, free: 7.531 MB / 0.7448 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 7.726e-05/0.008436, allocations: 160.5 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.008469, allocations: 25.66 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.008506, allocations: 16.34 kB / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.008509, allocations: 0 / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.008514, allocations: 0 / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.008518, allocations: 0 / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.008783, allocations: 165.7 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008784, allocations: 0 / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.008857, allocations: 19.98 kB / 0.7924 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.00886, allocations: 4.625 kB / 0.7924 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.008871, allocations: 8.641 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.008874, allocations: 4 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.008875, allocations: 0.8438 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.009072, allocations: 343.2 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.009085, allocations: 13.75 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.009102, allocations: 3.938 kB / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.00918, allocations: 19.97 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.009239, allocations: 7.984 kB / 0.7927 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.009244, allocations: 4 kB / 0.7928 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.23e-05/0.009306, allocations: 161.8 kB / 0.7929 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009306, allocations: 0 / 0.7929 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001729/0.009479, allocations: 22.38 kB / 0.7929 GB, free: 6.512 MB / 0.7448 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.00013/0.009609, allocations: 95.19 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.009755, allocations: 51.94 kB / 0.7931 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.009757, allocations: 0 / 0.7931 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.009801, allocations: 33.58 kB / 0.7931 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.01009, allocations: 27.8 kB / 0.7931 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.01053, allocations: 234.7 kB / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.01059, allocations: 77.14 kB / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.01063, allocations: 19.97 kB / 0.7934 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.01068, allocations: 13.16 kB / 0.7935 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.01068, allocations: 0 / 0.7935 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.003234/0.01391, allocations: 1.242 MB / 0.7947 GB, free: 4.691 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.510911352001131]