Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001822/0.001822, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00229/0.00229, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.524/1.524, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.901/2.901, allocations: 377.8 MB / 0.6232 GB, free: 8.492 MB / 0.5886 GB " [Timeout remaining time 176] 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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_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.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8108 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.244e-05/3.455e-05, allocations: 4.422 kB / 0.8108 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00223/0.002264, allocations: 0.8253 MB / 0.8116 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.003755, allocations: 0.9224 MB / 0.8125 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.073e-05/0.003836, allocations: 0.875 kB / 0.8125 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.003954, allocations: 11.86 kB / 0.8125 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.004077, allocations: 24.77 kB / 0.8126 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.004305, allocations: 56.52 kB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.004513, allocations: 131.6 kB / 0.8127 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.004647, allocations: 38.09 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.004808, allocations: 71.88 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.004963, allocations: 64.66 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.004999, allocations: 12 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.716e-05/0.005026, allocations: 13.69 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.005094, allocations: 39.83 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/0.005165, allocations: 39.89 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.005421, allocations: 151.5 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.005425, allocations: 0 / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005426, allocations: 1.531 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.00543, allocations: 0 / 0.8132 GB, free: 15.66 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009741/0.006404, allocations: 374.8 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.006442, allocations: 8.031 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.006526, allocations: 26.41 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.006774, allocations: 144 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.006795, allocations: 4.375 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.00682, allocations: 8.375 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.007311, allocations: 153.8 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.007324, allocations: 3.938 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.007347, allocations: 4 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.007354, allocations: 4 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/0.00806, allocations: 159.2 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/0.00879, allocations: 336.2 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.009727, allocations: 159.8 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.01004, allocations: 82.14 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.01008, allocations: 4.781 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.01011, allocations: 38.5 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.01011, allocations: 1.375 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.001121/0.01123, allocations: 284.4 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.01128, allocations: 55.41 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.01147, allocations: 152.6 kB / 0.8151 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.0115, allocations: 26.61 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.01161, allocations: 112 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.01166, allocations: 35.67 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.01172, allocations: 27.92 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.01191, allocations: 322.8 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.01235, allocations: 75.92 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.01266, allocations: 75.11 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.01326, allocations: 162.3 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01326, allocations: 0 / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007058/0.01397, allocations: 207.5 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.01399, allocations: 10.81 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01399, allocations: 1.031 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.01402, allocations: 3.938 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.0143, allocations: 36.77 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01431, allocations: 0.9375 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.01451, allocations: 24.77 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.01453, allocations: 4 kB / 0.8161 GB, free: 12.45 MB / 0.7761 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.0001382/0.01466, allocations: 123 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.01472, allocations: 11.95 kB / 0.8163 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.01476, allocations: 16.78 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01477, allocations: 4.938 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01477, allocations: 0 / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01478, allocations: 5.047 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.01503, allocations: 161.2 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.01503, allocations: 4 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.01529, allocations: 37.08 kB / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01529, allocations: 0 / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.01531, allocations: 9 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01532, allocations: 0 / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.01532, allocations: 7.922 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.01609, allocations: 294.9 kB / 0.8168 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.01612, allocations: 23.83 kB / 0.8168 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.01615, allocations: 4 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.01636, allocations: 17.16 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.01649, allocations: 39.89 kB / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.0165, allocations: 4 kB / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001024/0.01661, allocations: 112.3 kB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01661, allocations: 0 / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002746/0.01688, allocations: 27.94 kB / 0.817 GB, free: 11.52 MB / 0.7761 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.0001433/0.01703, allocations: 99.16 kB / 0.8171 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006781/0.0177, allocations: 167.8 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01771, allocations: 0 / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.01807, allocations: 97.42 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.01842, allocations: 26.23 kB / 0.8174 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.01909, allocations: 244.6 kB / 0.8176 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.01921, allocations: 97.11 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.01934, allocations: 32.45 kB / 0.8177 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.01945, allocations: 28.48 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01945, allocations: 0 / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.006995/0.02644, allocations: 2.599 MB / 0.8203 GB, free: 8.141 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.98212199495174]