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.001393/0.001393, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001936/0.001936, allocations: 161 kB / 23.82 MB, free: 0.75 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.995/0.995, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.812/1.812, allocations: 359 MB / 0.6052 GB, free: 11.02 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.493e-06/1.493e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.503e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001481/0.001506, allocations: 0.8461 MB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.002456, allocations: 0.9418 MB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.002519, allocations: 0 / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.002625, allocations: 8.438 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.002735, allocations: 29.14 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.002903, allocations: 59.8 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.003048, allocations: 132.7 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.003166, allocations: 29.3 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.003254, allocations: 79.8 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.003373, allocations: 61.42 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.003402, allocations: 12 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.003421, allocations: 12 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.003473, allocations: 35.83 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.003518, allocations: 45.17 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.003657, allocations: 103.6 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.00366, allocations: 0 / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.00366, allocations: 0 / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.003666, allocations: 1.25 kB / 0.7894 GB, free: 10.09 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.0005011/0.004167, allocations: 456.1 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.004206, allocations: 8.938 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.004257, allocations: 24.84 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.004407, allocations: 151.4 kB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.004428, allocations: 4.375 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.004446, allocations: 8.375 kB / 0.7901 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.004671, allocations: 128.6 kB / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.004683, allocations: 0 / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.004696, allocations: 0 / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.004704, allocations: 0 / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.748e-05/0.004801, allocations: 53.66 kB / 0.7902 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.005225, allocations: 359.5 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.005567, allocations: 104.3 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.005625, allocations: 36.34 kB / 0.7907 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.005646, allocations: 0 / 0.7907 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.005671, allocations: 39.05 kB / 0.7908 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 7.82e-07/0.005672, allocations: 0 / 0.7908 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002634/0.005935, allocations: 114.3 kB / 0.7909 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.005963, allocations: 51.41 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.006065, allocations: 212.3 kB / 0.7911 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.006078, allocations: 25.7 kB / 0.7911 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.006139, allocations: 159.8 kB / 0.7913 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.006168, allocations: 35.72 kB / 0.7913 GB, free: 8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.006215, allocations: 39.36 kB / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.006328, allocations: 0.4897 MB / 0.7918 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.006376, allocations: 15.98 kB / 0.7919 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.006422, allocations: 27.92 kB / 0.7919 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.006513, allocations: 53.42 kB / 0.7919 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006514, allocations: 0 / 0.7919 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001473/0.006662, allocations: 93.52 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.006674, allocations: 5.688 kB / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.006679, allocations: 0 / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.006697, allocations: 3.938 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.006806, allocations: 27.97 kB / 0.7921 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006811, allocations: 2.656 kB / 0.7921 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/0.006867, allocations: 15.98 kB / 0.7921 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.006877, allocations: 4 kB / 0.7921 GB, free: 7.203 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 7.904e-05/0.006956, allocations: 164.5 kB / 0.7922 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.006984, allocations: 11.94 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.007013, allocations: 17.28 kB / 0.7923 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007015, allocations: 4.469 kB / 0.7923 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007018, allocations: 0 / 0.7923 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007021, allocations: 5.938 kB / 0.7923 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.007153, allocations: 160.5 kB / 0.7924 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.007156, allocations: 3.984 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.007235, allocations: 27.97 kB / 0.7925 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.007237, allocations: 2.594 kB / 0.7925 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.007248, allocations: 4 kB / 0.7925 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.00725, allocations: 3.984 kB / 0.7925 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.007252, allocations: 3.938 kB / 0.7925 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.007437, allocations: 243.8 kB / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.007451, allocations: 15.89 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.007465, allocations: 0.5312 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.007536, allocations: 12.88 kB / 0.7927 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.007619, allocations: 39.89 kB / 0.7928 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.007627, allocations: 4.797 kB / 0.7928 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.007683, allocations: 148.3 kB / 0.7929 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007683, allocations: 3.938 kB / 0.7929 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001604/0.007843, allocations: 25.28 kB / 0.7929 GB, free: 6.266 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 7.939e-05/0.007922, allocations: 104 kB / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.008076, allocations: 65.56 kB / 0.7931 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008078, allocations: 0 / 0.7931 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.00815, allocations: 51.84 kB / 0.7932 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.008351, allocations: 29.42 kB / 0.7932 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.008729, allocations: 245 kB / 0.7934 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.008913, allocations: 67.33 kB / 0.7935 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.703e-05/0.00897, allocations: 17.59 kB / 0.7935 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.009045, allocations: 32.47 kB / 0.7935 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.009046, allocations: 0 / 0.7935 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of Templates: time 0.003878/0.01292, allocations: 2.6 MB / 0.7961 GB, free: 3.051 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.359696609899402]