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.001071/0.001071, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.0009996/0.0009996, allocations: 185 kB / 24.09 MB, free: 412 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.032/1.032, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.83/1.83, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] 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.166e-06/3.166e-06, allocations: 0 / 0.8121 GB, free: 220 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.268e-05, allocations: 2.312 kB / 0.8121 GB, free: 216 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002423/0.002455, allocations: 0.7681 MB / 0.8128 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.003684, allocations: 0.8717 MB / 0.8137 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.003766, allocations: 3.938 kB / 0.8137 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.004005, allocations: 51.86 kB / 0.8137 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.004078, allocations: 36.95 kB / 0.8138 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 9.418e-05/0.004173, allocations: 19.98 kB / 0.8138 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.004303, allocations: 96.58 kB / 0.8139 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.004425, allocations: 11.98 kB / 0.8139 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.004537, allocations: 56.48 kB / 0.8139 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.004694, allocations: 81.08 kB / 0.814 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.004723, allocations: 8 kB / 0.814 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.00474, allocations: 8 kB / 0.814 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.004807, allocations: 35.91 kB / 0.8141 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.004855, allocations: 33.52 kB / 0.8141 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.005003, allocations: 83.72 kB / 0.8142 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.005007, allocations: 4 kB / 0.8142 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005008, allocations: 0 / 0.8142 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.005012, allocations: 0.9688 kB / 0.8142 GB, free: 14.06 MB / 0.7292 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.0005431/0.005555, allocations: 452.7 kB / 0.8146 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.005601, allocations: 13 kB / 0.8146 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.005643, allocations: 12.89 kB / 0.8146 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.005799, allocations: 157 kB / 0.8148 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.00581, allocations: 4.375 kB / 0.8148 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.005823, allocations: 5.188 kB / 0.8148 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.006049, allocations: 115.3 kB / 0.8149 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.006058, allocations: 192 / 0.8149 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.006068, allocations: 384 / 0.8149 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.006075, allocations: 4.375 kB / 0.8149 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.854e-05/0.006143, allocations: 29.84 kB / 0.8149 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.006663, allocations: 443.3 kB / 0.8154 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.006801, allocations: 86.12 kB / 0.8155 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.006847, allocations: 24.34 kB / 0.8155 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.006859, allocations: 0 / 0.8155 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.006886, allocations: 37.92 kB / 0.8155 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.006887, allocations: 0 / 0.8155 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0002295/0.007116, allocations: 90.39 kB / 0.8156 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.007155, allocations: 77.11 kB / 0.8157 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.007286, allocations: 210.6 kB / 0.8159 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.007303, allocations: 33.7 kB / 0.8159 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.007377, allocations: 154.8 kB / 0.8161 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.007412, allocations: 27.8 kB / 0.8161 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.007464, allocations: 28.91 kB / 0.8161 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.007616, allocations: 0.4962 MB / 0.8166 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.007649, allocations: 7.938 kB / 0.8166 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.007699, allocations: 31.36 kB / 0.8166 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.102e-05/0.00778, allocations: 44.98 kB / 0.8167 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007783, allocations: 0 / 0.8167 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001483/0.007931, allocations: 73.52 kB / 0.8167 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.007949, allocations: 7.938 kB / 0.8167 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.007954, allocations: 4 kB / 0.8168 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.007969, allocations: 0.9375 kB / 0.8168 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.008088, allocations: 19.98 kB / 0.8168 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.008092, allocations: 1.656 kB / 0.8168 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.008152, allocations: 23.86 kB / 0.8168 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.008159, allocations: 0 / 0.8168 GB, free: 11.16 MB / 0.7292 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 8.82e-05/0.008248, allocations: 161.1 kB / 0.8169 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.008297, allocations: 16.59 kB / 0.817 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.008336, allocations: 20.28 kB / 0.817 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.008341, allocations: 4.656 kB / 0.817 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.008343, allocations: 0 / 0.817 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.008346, allocations: 1.031 kB / 0.817 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.008557, allocations: 125.7 kB / 0.8171 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.00856, allocations: 4 kB / 0.8171 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.577e-05/0.008646, allocations: 24.52 kB / 0.8171 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.008649, allocations: 5.375 kB / 0.8171 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.008656, allocations: 0 / 0.8171 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.008658, allocations: 0 / 0.8171 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.00866, allocations: 3.938 kB / 0.8171 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.008889, allocations: 348.2 kB / 0.8175 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.008904, allocations: 11.91 kB / 0.8175 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.008917, allocations: 0 / 0.8175 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.009031, allocations: 8.797 kB / 0.8175 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.009078, allocations: 16.86 kB / 0.8175 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.009085, allocations: 4 kB / 0.8175 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.36e-05/0.009159, allocations: 153.5 kB / 0.8177 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009159, allocations: 1.344 kB / 0.8177 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002879/0.009447, allocations: 16 kB / 0.8177 GB, free: 10.2 MB / 0.7292 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.0003905/0.009837, allocations: 103.9 kB / 0.8178 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.009966, allocations: 39.83 kB / 0.8178 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009968, allocations: 1.938 kB / 0.8178 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.138e-05/0.01002, allocations: 31.59 kB / 0.8179 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.0104, allocations: 23.89 kB / 0.8179 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.01085, allocations: 238.4 kB / 0.8181 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.01091, allocations: 71.33 kB / 0.8182 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.01095, allocations: 4 kB / 0.8182 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.01105, allocations: 82.19 kB / 0.8183 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/0.01105, allocations: 0 / 0.8183 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of Templates: time 0.004316/0.01537, allocations: 1.356 MB / 0.8196 GB, free: 8.234 MB / 0.7292 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.1150142210535705]