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.001472/0.001472, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001897/0.001897, allocations: 161 kB / 24.17 MB, free: 328 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.068/1.068, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.99/1.99, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|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.[0-9,]+.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.723e-05, allocations: 10.14 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002576/0.002603, allocations: 0.8889 MB / 0.761 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.00409, allocations: 0.9436 MB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.004152, allocations: 0.6875 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.004255, allocations: 11.86 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.774e-05/0.004353, allocations: 23.06 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.004509, allocations: 59.86 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.004646, allocations: 131.7 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.004751, allocations: 34.95 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.911e-05/0.00484, allocations: 75.81 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.004952, allocations: 71.78 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.004979, allocations: 14.06 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.004994, allocations: 12 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.005035, allocations: 31.89 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.00507, allocations: 39.89 kB / 0.7624 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.005198, allocations: 111.5 kB / 0.7625 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.0052, allocations: 0 / 0.7625 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.91e-07/0.005201, allocations: 0.75 kB / 0.7625 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.005205, allocations: 0 / 0.7625 GB, free: 4.16 MB / 0.7136 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.0003823/0.005587, allocations: 321.2 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.005618, allocations: 12.56 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.005654, allocations: 19.08 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.005782, allocations: 142 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.005802, allocations: 8.375 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.005814, allocations: 12.38 kB / 0.763 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.006001, allocations: 124 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.006009, allocations: 0 / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.00602, allocations: 4 kB / 0.7631 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.006025, allocations: 0 / 0.7631 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.234e-05/0.006087, allocations: 29.22 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.006417, allocations: 242.5 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.006682, allocations: 118.3 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.006719, allocations: 27.25 kB / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.006733, allocations: 0 / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.006752, allocations: 34.56 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.006753, allocations: 3.938 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001662/0.006919, allocations: 81.66 kB / 0.7636 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.006943, allocations: 54.16 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.007018, allocations: 156.4 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.007031, allocations: 29.7 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.007066, allocations: 96.23 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.007094, allocations: 31.73 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.007131, allocations: 25.7 kB / 0.764 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.402e-05/0.007205, allocations: 326.8 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.007234, allocations: 16.06 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.007259, allocations: 12 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.007334, allocations: 47.41 kB / 0.7644 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.007336, allocations: 0 / 0.7644 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.376e-05/0.007429, allocations: 70.55 kB / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.00744, allocations: 4.5 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.007447, allocations: 7.984 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.00746, allocations: 7.375 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.007554, allocations: 27.97 kB / 0.7645 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.00756, allocations: 11.88 kB / 0.7645 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.007608, allocations: 11.98 kB / 0.7645 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.007618, allocations: 7.984 kB / 0.7645 GB, free: 1.938 MB / 0.7136 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.182e-05/0.00769, allocations: 116.7 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.007713, allocations: 7.984 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.007744, allocations: 19.34 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.007746, allocations: 0 / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.007747, allocations: 0 / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.00775, allocations: 3.938 kB / 0.7646 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.00787, allocations: 109.7 kB / 0.7647 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.007871, allocations: 0 / 0.7647 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.007954, allocations: 32.7 kB / 0.7648 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.007956, allocations: 0 / 0.7648 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.007964, allocations: 5.281 kB / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.007965, allocations: 0 / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007967, allocations: 3.938 kB / 0.7648 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.008118, allocations: 219.6 kB / 0.765 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.008129, allocations: 7.953 kB / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.008141, allocations: 3.875 kB / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.008201, allocations: 11.98 kB / 0.765 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.008276, allocations: 35.95 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.008284, allocations: 7.938 kB / 0.7651 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.615e-05/0.00831, allocations: 39.19 kB / 0.7651 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.00831, allocations: 0 / 0.7651 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001342/0.008444, allocations: 27.95 kB / 0.7651 GB, free: 1.262 MB / 0.7136 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 8.664e-05/0.008531, allocations: 79.42 kB / 0.7652 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.008633, allocations: 52.8 kB / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.008635, allocations: 0 / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.008691, allocations: 44.77 kB / 0.7653 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.008838, allocations: 27.98 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.009144, allocations: 222.8 kB / 0.7655 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.009185, allocations: 71.27 kB / 0.7656 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.616e-05/0.009241, allocations: 13.34 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.009342, allocations: 83.34 kB / 0.7657 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.009343, allocations: 3.938 kB / 0.7657 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of Templates: time 0.003938/0.01328, allocations: 2.581 MB / 0.7682 GB, free: 14.18 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] 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","",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.228134711738676]