Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001181/0.001181, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001136/0.001136, allocations: 170.3 kB / 24.87 MB, free: 8.125 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.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.18 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.848/1.848, allocations: 359 MB / 0.6063 GB, free: 10.89 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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.285e-05, allocations: 8.484 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001523/0.001546, allocations: 0.8424 MB / 0.7891 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009142/0.00246, allocations: 0.9462 MB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.002526, allocations: 4 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.002633, allocations: 7.875 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.002734, allocations: 20.58 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.002911, allocations: 60.42 kB / 0.7902 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.003053, allocations: 136.6 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.003169, allocations: 25.3 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.003271, allocations: 75.86 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.003387, allocations: 68.44 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.003412, allocations: 13.25 kB / 0.7905 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.549e-05/0.003427, allocations: 12 kB / 0.7905 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.003475, allocations: 31.91 kB / 0.7905 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.003517, allocations: 43.89 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.003645, allocations: 101.2 kB / 0.7906 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.003647, allocations: 0 / 0.7906 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003647, allocations: 4 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.003652, allocations: 0 / 0.7906 GB, free: 9.84 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005302/0.004182, allocations: 453.2 kB / 0.7911 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.004224, allocations: 8.031 kB / 0.7911 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.004272, allocations: 25.53 kB / 0.7911 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.004469, allocations: 158.8 kB / 0.7913 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.004496, allocations: 9.969 kB / 0.7913 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.004513, allocations: 4.375 kB / 0.7913 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.004752, allocations: 115.1 kB / 0.7914 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.004764, allocations: 3.938 kB / 0.7914 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.004778, allocations: 4 kB / 0.7914 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.004788, allocations: 7.375 kB / 0.7914 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.841e-05/0.004867, allocations: 33.64 kB / 0.7914 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.005285, allocations: 336.1 kB / 0.7917 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.005598, allocations: 91.06 kB / 0.7918 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.005648, allocations: 32.55 kB / 0.7919 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.005667, allocations: 5.656 kB / 0.7919 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.005692, allocations: 41.27 kB / 0.7919 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.005693, allocations: 0 / 0.7919 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002544/0.005947, allocations: 107.2 kB / 0.792 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.005984, allocations: 51.41 kB / 0.7921 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.00609, allocations: 199.3 kB / 0.7923 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.006109, allocations: 33.7 kB / 0.7923 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.006186, allocations: 156.1 kB / 0.7924 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.006223, allocations: 35.72 kB / 0.7925 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.006273, allocations: 35.34 kB / 0.7925 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.006489, allocations: 0.4923 MB / 0.793 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.006526, allocations: 13.39 kB / 0.793 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.006559, allocations: 12 kB / 0.793 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/0.006635, allocations: 44.12 kB / 0.793 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.006637, allocations: 1.562 kB / 0.793 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001474/0.006785, allocations: 97.5 kB / 0.7931 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.0068, allocations: 4 kB / 0.7931 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.006804, allocations: 1.031 kB / 0.7931 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.006813, allocations: 0 / 0.7931 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.006925, allocations: 28.5 kB / 0.7932 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.00693, allocations: 3.938 kB / 0.7932 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.006986, allocations: 13.53 kB / 0.7932 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.006996, allocations: 3.984 kB / 0.7932 GB, free: 7.047 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001018/0.007098, allocations: 161.3 kB / 0.7933 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.007126, allocations: 11.95 kB / 0.7934 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.007159, allocations: 21.3 kB / 0.7934 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.007162, allocations: 1.375 kB / 0.7934 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.007166, allocations: 3.938 kB / 0.7934 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.007169, allocations: 0 / 0.7934 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.007311, allocations: 145 kB / 0.7935 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.007312, allocations: 1.156 kB / 0.7935 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.409e-05/0.007396, allocations: 31.91 kB / 0.7936 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007398, allocations: 0.9062 kB / 0.7936 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.007407, allocations: 4 kB / 0.7936 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.00741, allocations: 4 kB / 0.7936 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.007411, allocations: 0.8125 kB / 0.7936 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.007614, allocations: 245.3 kB / 0.7938 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.007628, allocations: 11.91 kB / 0.7938 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.007642, allocations: 1.344 kB / 0.7938 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.007715, allocations: 11.98 kB / 0.7938 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.007797, allocations: 39.94 kB / 0.7939 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.007804, allocations: 4 kB / 0.7939 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.007864, allocations: 153.2 kB / 0.794 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.81e-07/0.007865, allocations: 0 / 0.794 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001781/0.008043, allocations: 22.31 kB / 0.794 GB, free: 6.148 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001012/0.008144, allocations: 103.2 kB / 0.7941 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.008281, allocations: 55.59 kB / 0.7942 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008283, allocations: 3.438 kB / 0.7942 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.863e-05/0.008352, allocations: 51.58 kB / 0.7942 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.008572, allocations: 23.98 kB / 0.7943 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.008972, allocations: 230.1 kB / 0.7945 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.009015, allocations: 72.06 kB / 0.7945 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.851e-05/0.009083, allocations: 17.67 kB / 0.7946 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.009205, allocations: 104.2 kB / 0.7947 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.009206, allocations: 0 / 0.7947 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of Templates: time 0.004629/0.01384, allocations: 2.84 MB / 0.7974 GB, free: 2.641 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_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.2644289820455015]