Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.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.001464/0.001464, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001564/0.001564, allocations: 169.4 kB / 24.06 MB, free: 456 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.013/1.013, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.081/2.081, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.[0-9,]+.|mulSum_1.y|mulSum_2.u.[0-9,]+.|mulSum_2.y|mulSum_5.u.[0-9,]+.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.[0-9,]+.|mulSum_1.y|mulSum_2.u.[0-9,]+.|mulSum_2.y|mulSum_5.u.[0-9,]+.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.498e-05, allocations: 6.609 kB / 0.8795 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001566/0.001591, allocations: 0.8715 MB / 0.8803 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009503/0.002541, allocations: 0.9256 MB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.002598, allocations: 0.75 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.002711, allocations: 23.8 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.002815, allocations: 21.2 kB / 0.8813 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.002932, allocations: 45.19 kB / 0.8813 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.003083, allocations: 147.5 kB / 0.8815 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.003216, allocations: 29.53 kB / 0.8815 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.003307, allocations: 80.83 kB / 0.8816 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.003413, allocations: 67.84 kB / 0.8816 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.003437, allocations: 12 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.003452, allocations: 13.12 kB / 0.8816 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.003502, allocations: 47.83 kB / 0.8817 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.003542, allocations: 39.91 kB / 0.8817 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.003687, allocations: 132.5 kB / 0.8819 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003689, allocations: 0 / 0.8819 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00369, allocations: 0 / 0.8819 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.003695, allocations: 1.094 kB / 0.8819 GB, free: 3.523 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004969/0.004192, allocations: 0.4943 MB / 0.8823 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.004223, allocations: 8.031 kB / 0.8823 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.004263, allocations: 28.8 kB / 0.8824 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.004404, allocations: 165.1 kB / 0.8825 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.004414, allocations: 5.5 kB / 0.8825 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.004427, allocations: 12.38 kB / 0.8825 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.00463, allocations: 117.3 kB / 0.8827 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004638, allocations: 4.125 kB / 0.8827 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.004649, allocations: 5.031 kB / 0.8827 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.004655, allocations: 384 / 0.8827 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.004713, allocations: 34.59 kB / 0.8827 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.005167, allocations: 388.6 kB / 0.8831 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.596e-05/0.005253, allocations: 55.05 kB / 0.8831 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.005289, allocations: 19.67 kB / 0.8831 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.005301, allocations: 0 / 0.8831 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.005323, allocations: 41.39 kB / 0.8832 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.005324, allocations: 0 / 0.8832 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001842/0.005509, allocations: 83.36 kB / 0.8833 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.005546, allocations: 55.34 kB / 0.8833 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.005659, allocations: 235.4 kB / 0.8835 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.005675, allocations: 29.7 kB / 0.8836 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.005737, allocations: 163.4 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.005767, allocations: 37.34 kB / 0.8838 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.005808, allocations: 23.38 kB / 0.8838 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.005938, allocations: 0.5001 MB / 0.8843 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.005968, allocations: 4 kB / 0.8843 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.005995, allocations: 11.98 kB / 0.8843 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.547e-05/0.00606, allocations: 45.08 kB / 0.8843 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006062, allocations: 0 / 0.8843 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001191/0.006181, allocations: 78.09 kB / 0.8844 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.006194, allocations: 4 kB / 0.8844 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.006199, allocations: 4 kB / 0.8844 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.00621, allocations: 0 / 0.8844 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.006335, allocations: 35.91 kB / 0.8844 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.00634, allocations: 4 kB / 0.8844 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.006401, allocations: 19.92 kB / 0.8845 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.006408, allocations: 0 / 0.8845 GB, free: 0.6641 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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 0.0001015/0.006509, allocations: 164.5 kB / 0.8846 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.00654, allocations: 15.91 kB / 0.8846 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.006577, allocations: 29.45 kB / 0.8847 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006579, allocations: 3.938 kB / 0.8847 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.006581, allocations: 0 / 0.8847 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.006586, allocations: 3.984 kB / 0.8847 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.006729, allocations: 133.2 kB / 0.8848 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.00673, allocations: 0 / 0.8848 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.006815, allocations: 31.91 kB / 0.8848 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.006817, allocations: 0 / 0.8848 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.006827, allocations: 11.94 kB / 0.8848 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.006828, allocations: 0 / 0.8848 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.006829, allocations: 4 kB / 0.8848 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.007008, allocations: 223.8 kB / 0.8851 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.007039, allocations: 23.92 kB / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.007053, allocations: 0 / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.007123, allocations: 19.97 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.007172, allocations: 15.98 kB / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.007178, allocations: 0 / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.625e-05/0.007244, allocations: 163 kB / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.007244, allocations: 0 / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001706/0.007415, allocations: 27.89 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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.0001182/0.007533, allocations: 103.2 kB / 0.8854 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.007658, allocations: 39.61 kB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007659, allocations: 0 / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/0.007707, allocations: 35.59 kB / 0.8855 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.007959, allocations: 27.92 kB / 0.8855 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.008396, allocations: 279.3 kB / 0.8858 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.008441, allocations: 71.33 kB / 0.8858 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.008487, allocations: 8.5 kB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.00859, allocations: 98.17 kB / 0.8859 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/0.008591, allocations: 0 / 0.8859 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of Templates: time 0.004007/0.0126, allocations: 2.283 MB / 0.8882 GB, free: 12.79 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.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.260930277872831]