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.001307/0.001307, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001305/0.001305, allocations: 165 kB / 23.82 MB, free: 0.75 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 1.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.971/1.971, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] 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.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",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.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.659e-05, allocations: 6.312 kB / 0.8116 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002321/0.002358, allocations: 0.784 MB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003615, allocations: 0.8634 MB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.003681, allocations: 5 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.003923, allocations: 59.67 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.004, allocations: 41.2 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.004115, allocations: 19.97 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.0043, allocations: 87.75 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.004463, allocations: 21.7 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.00459, allocations: 51.94 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.004767, allocations: 79.83 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.004802, allocations: 8 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.875e-05/0.004821, allocations: 9.688 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.004907, allocations: 43.83 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.004965, allocations: 23.92 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.005161, allocations: 83.72 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.005164, allocations: 0 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.044e-06/0.005166, allocations: 1.344 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.005176, allocations: 0 / 0.8137 GB, free: 15.48 MB / 0.7761 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.0007659/0.005942, allocations: 485.5 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.005998, allocations: 8.031 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.006061, allocations: 12.89 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.006292, allocations: 158.6 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.006311, allocations: 8.375 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.00633, allocations: 384 / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.006636, allocations: 114.2 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.00665, allocations: 192 / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.006669, allocations: 5.094 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.006681, allocations: 384 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.006803, allocations: 32.44 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.007537, allocations: 492.2 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.007742, allocations: 86.12 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.00781, allocations: 27.38 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.007827, allocations: 4.656 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.007859, allocations: 42.64 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.007861, allocations: 0 / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0003182/0.008179, allocations: 89.59 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.008227, allocations: 77.11 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.008386, allocations: 215.2 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.008402, allocations: 25.7 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.008488, allocations: 162.8 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.008526, allocations: 25.22 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.008579, allocations: 23.38 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.008743, allocations: 0.4962 MB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.904e-05/0.008793, allocations: 9.156 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.008853, allocations: 35.3 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.31e-05/0.008946, allocations: 39.75 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.008951, allocations: 4.531 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001718/0.009122, allocations: 89.44 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.009141, allocations: 4.875 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.009153, allocations: 4 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.009176, allocations: 0.8438 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.009343, allocations: 23.97 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.00935, allocations: 5.688 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.009426, allocations: 15.92 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.009437, allocations: 4 kB / 0.8164 GB, free: 12.46 MB / 0.7761 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 9.492e-05/0.009532, allocations: 161.4 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.009592, allocations: 23.78 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.009641, allocations: 26.55 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.009644, allocations: 0 / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.009649, allocations: 0 / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.009656, allocations: 4 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.009907, allocations: 148.6 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.009909, allocations: 0 / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.01002, allocations: 30.09 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01002, allocations: 0 / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.01004, allocations: 7.938 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01004, allocations: 0 / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.01005, allocations: 4 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.01031, allocations: 347.1 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.01033, allocations: 8.453 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.01035, allocations: 8.469 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.01049, allocations: 21.83 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.01056, allocations: 15.97 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.01057, allocations: 0 / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.265e-05/0.01066, allocations: 151.2 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01066, allocations: 0 / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003343/0.01099, allocations: 16.62 kB / 0.8174 GB, free: 11.45 MB / 0.7761 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.000157/0.01115, allocations: 107.8 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.01133, allocations: 40.17 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01133, allocations: 3.469 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.0114, allocations: 31.61 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.01183, allocations: 16 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.01237, allocations: 230.3 kB / 0.8178 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.184e-05/0.01243, allocations: 71.33 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.949e-05/0.0125, allocations: 22.09 kB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.01256, allocations: 16.5 kB / 0.8179 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of SimCode: time 1.022e-06/0.01256, allocations: 0 / 0.8179 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of Templates: time 0.00425/0.01681, allocations: 1.259 MB / 0.8191 GB, free: 9.625 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] 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","",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.453199449926615]