Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001043/0.001043, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009996/0.0009996, allocations: 177 kB / 23.36 MB, free: 1.129 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.9956/0.9956, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.445/2.445, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0.6562 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.257e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001458/0.001481, allocations: 0.8829 MB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.002396, allocations: 0.9403 MB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.002455, allocations: 4 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.002561, allocations: 11.81 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.265e-05/0.002654, allocations: 15.86 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.002803, allocations: 63.8 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.002937, allocations: 139.6 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003037, allocations: 29.94 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.092e-05/0.003128, allocations: 79.86 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.003237, allocations: 59.84 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.003261, allocations: 12 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.003281, allocations: 12 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.003325, allocations: 35.91 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.003367, allocations: 43.83 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.00349, allocations: 107.6 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.273e-06/0.003492, allocations: 3.938 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003492, allocations: 0 / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003495, allocations: 4 kB / 0.841 GB, free: 11.67 MB / 0.8073 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.0003855/0.003881, allocations: 324.4 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.00391, allocations: 8.625 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.003944, allocations: 16.92 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.004074, allocations: 144.3 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.004091, allocations: 4.375 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.004104, allocations: 8.375 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.004289, allocations: 126.9 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.004296, allocations: 0 / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.004307, allocations: 4 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004312, allocations: 0 / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/0.00437, allocations: 27.98 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.004684, allocations: 245.6 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.004954, allocations: 129.2 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.079e-05/0.004994, allocations: 24.83 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.005013, allocations: 8 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.005032, allocations: 30.56 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.005033, allocations: 0 / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001727/0.005205, allocations: 81.59 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.005233, allocations: 59.41 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.005304, allocations: 152.8 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.005316, allocations: 25.7 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.005353, allocations: 100.1 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.005378, allocations: 31.73 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.005417, allocations: 33.62 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.005489, allocations: 318.8 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.005517, allocations: 14.83 kB / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.005544, allocations: 15.92 kB / 0.8429 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.298e-05/0.005617, allocations: 58.97 kB / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.005619, allocations: 0 / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.596e-05/0.005715, allocations: 73.59 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.005727, allocations: 8 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.005731, allocations: 0 / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.005743, allocations: 0 / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.005842, allocations: 27.97 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.005846, allocations: 3.938 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.005896, allocations: 11.98 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.005905, allocations: 8 kB / 0.8431 GB, free: 9.43 MB / 0.8073 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.375e-05/0.005979, allocations: 116.7 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.006001, allocations: 8 kB / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.006028, allocations: 24.7 kB / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.00603, allocations: 0 / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.006033, allocations: 4 kB / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.006037, allocations: 3.938 kB / 0.8432 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.006154, allocations: 105.7 kB / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.006155, allocations: 0 / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.00623, allocations: 31.97 kB / 0.8433 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.006232, allocations: 0 / 0.8433 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.006243, allocations: 7.984 kB / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006244, allocations: 0 / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006246, allocations: 0 / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.006386, allocations: 218.1 kB / 0.8436 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.006396, allocations: 7.953 kB / 0.8436 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.006411, allocations: 4 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.079e-05/0.006472, allocations: 7.984 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.006542, allocations: 43.95 kB / 0.8436 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.006549, allocations: 4 kB / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.508e-05/0.006574, allocations: 36.77 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006574, allocations: 0 / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001295/0.006704, allocations: 16 kB / 0.8437 GB, free: 8.758 MB / 0.8073 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.808e-05/0.006782, allocations: 92.28 kB / 0.8438 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.006886, allocations: 48.77 kB / 0.8438 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.006889, allocations: 0 / 0.8438 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.555e-05/0.006944, allocations: 48.77 kB / 0.8438 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.007104, allocations: 23.97 kB / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.007434, allocations: 219.4 kB / 0.8441 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.007472, allocations: 67.28 kB / 0.8441 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.007534, allocations: 28.42 kB / 0.8442 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.007636, allocations: 75.36 kB / 0.8442 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.007636, allocations: 0 / 0.8442 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of Templates: time 0.004089/0.01173, allocations: 2.585 MB / 0.8468 GB, free: 5.547 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.200341870076954]