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.000903/0.000903, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001037/0.001037, allocations: 169 kB / 23.82 MB, free: 0.7461 MB / 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 0.959/0.959, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.783/1.783, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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 1.373e-06/1.373e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.864e-05, allocations: 12.86 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001333/0.001351, allocations: 0.7667 MB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.002543, allocations: 0.8799 MB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.002584, allocations: 0 / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.002763, allocations: 57.3 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.002808, allocations: 35.77 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.011e-05/0.002878, allocations: 19.97 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.002979, allocations: 96.91 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.003076, allocations: 11.98 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.003148, allocations: 55.88 kB / 0.7891 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.003256, allocations: 80.45 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.003279, allocations: 9.406 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.00329, allocations: 8 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.003341, allocations: 35.91 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.003376, allocations: 23.92 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.00348, allocations: 88.56 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003482, allocations: 0 / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003482, allocations: 0.5 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003486, allocations: 0 / 0.7893 GB, free: 10.25 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.0004227/0.003909, allocations: 481.8 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.003938, allocations: 8.031 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.00397, allocations: 13.48 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.004091, allocations: 161.1 kB / 0.7899 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.004099, allocations: 4.375 kB / 0.7899 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.004109, allocations: 6.031 kB / 0.7899 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.004274, allocations: 122.1 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.00428, allocations: 192 / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.00429, allocations: 384 / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004294, allocations: 1.625 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.004364, allocations: 35.92 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.004776, allocations: 488.2 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.004888, allocations: 82.19 kB / 0.7906 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.004927, allocations: 23.38 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.004936, allocations: 5.156 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.004957, allocations: 49.34 kB / 0.7907 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.004958, allocations: 0 / 0.7907 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001833/0.005141, allocations: 88.62 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.005177, allocations: 77.11 kB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.005288, allocations: 216.3 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.005301, allocations: 29.7 kB / 0.7911 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.005358, allocations: 158.8 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.005384, allocations: 23.84 kB / 0.7913 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.005419, allocations: 23.38 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.005553, allocations: 0.4962 MB / 0.7918 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.005581, allocations: 8.531 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.006031, allocations: 31.95 kB / 0.7918 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.006097, allocations: 47.3 kB / 0.7919 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.006098, allocations: 0.5312 kB / 0.7919 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001089/0.006207, allocations: 83.16 kB / 0.7919 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.006216, allocations: 4 kB / 0.792 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006221, allocations: 4 kB / 0.792 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.00623, allocations: 4.469 kB / 0.792 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.006324, allocations: 29.34 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.006329, allocations: 0 / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.006371, allocations: 15.92 kB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.006378, allocations: 4 kB / 0.792 GB, free: 7.23 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 6.479e-05/0.006443, allocations: 161.7 kB / 0.7922 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.006472, allocations: 23.78 kB / 0.7922 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.006504, allocations: 21.34 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.006506, allocations: 0 / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.006509, allocations: 0 / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006513, allocations: 5.75 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.006665, allocations: 152.6 kB / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006667, allocations: 0 / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.00673, allocations: 31.92 kB / 0.7924 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.006732, allocations: 6.172 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.00674, allocations: 3.938 kB / 0.7924 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006741, allocations: 0 / 0.7924 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006741, allocations: 4 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.006896, allocations: 335.2 kB / 0.7927 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.006906, allocations: 11.91 kB / 0.7927 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.00692, allocations: 12.47 kB / 0.7927 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.006991, allocations: 19.41 kB / 0.7928 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.007027, allocations: 15.92 kB / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.007032, allocations: 4 kB / 0.7928 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.007087, allocations: 160.8 kB / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007087, allocations: 0 / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001557/0.007243, allocations: 16 kB / 0.7929 GB, free: 6.207 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 7.285e-05/0.007316, allocations: 103.2 kB / 0.793 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.007449, allocations: 44.17 kB / 0.7931 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00745, allocations: 0 / 0.7931 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/0.00751, allocations: 32.17 kB / 0.7931 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.00774, allocations: 21.02 kB / 0.7931 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.008048, allocations: 239.5 kB / 0.7934 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.00809, allocations: 71.92 kB / 0.7934 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.949e-05/0.008129, allocations: 21.66 kB / 0.7935 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.008164, allocations: 12.5 kB / 0.7935 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.008164, allocations: 0 / 0.7935 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of Templates: time 0.002624/0.01079, allocations: 1.325 MB / 0.7948 GB, free: 4.32 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: 4.914855915121734]