Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001422/0.001422, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001485/0.001485, allocations: 173 kB / 23.02 MB, free: 1.547 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.9608/0.9608, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.107/2.107, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.437e-06/3.437e-06, allocations: 0 / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.431e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001969/0.002003, allocations: 0.7754 MB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.003199, allocations: 0.8688 MB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.003265, allocations: 3.938 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.003489, allocations: 57.45 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.003572, allocations: 41.72 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.476e-05/0.003667, allocations: 15.98 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.003822, allocations: 96.23 kB / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.003954, allocations: 19.86 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.588e-05/0.00405, allocations: 56.72 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.004177, allocations: 76.59 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.004206, allocations: 8 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.004222, allocations: 8.75 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.004283, allocations: 39.89 kB / 0.8803 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.004329, allocations: 32.47 kB / 0.8803 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004464, allocations: 79.72 kB / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.004469, allocations: 4.812 kB / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/0.004471, allocations: 0 / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.004476, allocations: 1.281 kB / 0.8804 GB, free: 4.078 MB / 0.8386 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.0005087/0.004985, allocations: 477 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.005028, allocations: 12.03 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.005081, allocations: 21.97 kB / 0.8809 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.005233, allocations: 144.4 kB / 0.881 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.005243, allocations: 8.312 kB / 0.881 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.005259, allocations: 13.39 kB / 0.881 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.005463, allocations: 106.3 kB / 0.8811 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.00547, allocations: 1.312 kB / 0.8811 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.005484, allocations: 4.359 kB / 0.8811 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.005491, allocations: 4.375 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.805e-05/0.005569, allocations: 36.62 kB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.006075, allocations: 488.3 kB / 0.8816 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.006226, allocations: 86.14 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.006272, allocations: 31.45 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.006284, allocations: 1.625 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.006307, allocations: 41.33 kB / 0.8818 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.006309, allocations: 0 / 0.8818 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002199/0.006529, allocations: 81.56 kB / 0.8819 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.006569, allocations: 82.27 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.006674, allocations: 209.8 kB / 0.8821 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.006688, allocations: 33.7 kB / 0.8822 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.006748, allocations: 155.8 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.006775, allocations: 23.81 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.006816, allocations: 39.3 kB / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.006936, allocations: 0.4929 MB / 0.8829 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.006967, allocations: 4 kB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.007007, allocations: 36.95 kB / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.419e-05/0.007071, allocations: 39.38 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.007075, allocations: 4 kB / 0.8829 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001094/0.007184, allocations: 77.52 kB / 0.883 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.007198, allocations: 7.031 kB / 0.883 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.007204, allocations: 0 / 0.883 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.007221, allocations: 4.453 kB / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.007334, allocations: 27.92 kB / 0.8831 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.00734, allocations: 0 / 0.8831 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.007388, allocations: 27.86 kB / 0.8831 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.007396, allocations: 4 kB / 0.8831 GB, free: 1.055 MB / 0.8386 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.361e-05/0.00747, allocations: 162 kB / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.007504, allocations: 19.89 kB / 0.8833 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.007542, allocations: 16.33 kB / 0.8833 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.007547, allocations: 8.609 kB / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.007551, allocations: 0 / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.007554, allocations: 0.9375 kB / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.007731, allocations: 160.5 kB / 0.8834 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.007733, allocations: 0 / 0.8834 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.007806, allocations: 28.56 kB / 0.8835 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007808, allocations: 4 kB / 0.8835 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.007819, allocations: 7.938 kB / 0.8835 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.00782, allocations: 0 / 0.8835 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.007821, allocations: 0 / 0.8835 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.008013, allocations: 343 kB / 0.8838 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.008027, allocations: 11.94 kB / 0.8838 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.008042, allocations: 3.938 kB / 0.8838 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.008115, allocations: 11.98 kB / 0.8838 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.008165, allocations: 11.98 kB / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.008171, allocations: 4 kB / 0.8838 GB, free: 216 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.11e-05/0.008253, allocations: 155.2 kB / 0.884 GB, free: 60 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008253, allocations: 0 / 0.884 GB, free: 60 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001782/0.008431, allocations: 23.95 kB / 0.884 GB, free: 36 kB / 0.8386 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.0001338/0.008565, allocations: 103.3 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.008706, allocations: 39.61 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.008708, allocations: 0 / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/0.008751, allocations: 35.61 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.009011, allocations: 18.66 kB / 0.8842 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.009427, allocations: 230.3 kB / 0.8844 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.272e-05/0.00948, allocations: 71.33 kB / 0.8845 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.009527, allocations: 19.97 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.009576, allocations: 16.44 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of SimCode: time 2.405e-06/0.009579, allocations: 0 / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.003543/0.01312, allocations: 1.33 MB / 0.8858 GB, free: 14.12 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.410313729662448]