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.000918/0.000918, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009596/0.0009596, allocations: 181 kB / 23.36 MB, free: 1.133 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.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.433/2.433, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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 1.944e-06/1.944e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.857e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001534/0.001563, allocations: 0.8417 MB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.002494, allocations: 0.9442 MB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.002551, allocations: 4 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.961e-05/0.00265, allocations: 11.86 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.791e-05/0.002748, allocations: 27.73 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.00291, allocations: 55.86 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.003048, allocations: 131.7 kB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.003155, allocations: 33.92 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.046e-05/0.003245, allocations: 75.86 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.003359, allocations: 67.78 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.003387, allocations: 12 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.741e-05/0.003405, allocations: 12 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.003451, allocations: 43.89 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.003487, allocations: 31.91 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.003624, allocations: 111.5 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003625, allocations: 0 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003626, allocations: 0 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.00363, allocations: 0 / 0.8409 GB, free: 11.81 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.0004175/0.004047, allocations: 328.4 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.004082, allocations: 12.56 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.004119, allocations: 16.92 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.004247, allocations: 142.1 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.004266, allocations: 12.38 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.004282, allocations: 4.375 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.004461, allocations: 115.1 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004468, allocations: 4 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.004478, allocations: 7.938 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004483, allocations: 0 / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.851e-05/0.004542, allocations: 27.97 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.004855, allocations: 249.6 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.005124, allocations: 113.3 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.00516, allocations: 28.78 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.005176, allocations: 4 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.005193, allocations: 30.56 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.005195, allocations: 0 / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.000167/0.005362, allocations: 85.59 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.00539, allocations: 55.41 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.005464, allocations: 156.6 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.005477, allocations: 25.7 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.005513, allocations: 104.1 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.005537, allocations: 23.73 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.005577, allocations: 33.62 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.00565, allocations: 322.8 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.00568, allocations: 14.81 kB / 0.8428 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.005705, allocations: 16 kB / 0.8428 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.005774, allocations: 50.97 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005776, allocations: 0 / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.457e-05/0.005871, allocations: 73.61 kB / 0.8429 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.005883, allocations: 7.984 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005888, allocations: 4 kB / 0.8429 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005898, allocations: 0 / 0.8429 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.005999, allocations: 23.98 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.006004, allocations: 7.938 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.00605, allocations: 7.984 kB / 0.8429 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.00606, allocations: 11.98 kB / 0.843 GB, free: 9.57 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.2e-05/0.006132, allocations: 124.6 kB / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.006155, allocations: 8 kB / 0.8431 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.00618, allocations: 20.77 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.006181, allocations: 0 / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006183, allocations: 0 / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006186, allocations: 3.938 kB / 0.8431 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.0063, allocations: 109.7 kB / 0.8432 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006301, allocations: 0 / 0.8432 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.006378, allocations: 27.97 kB / 0.8432 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.00638, allocations: 0 / 0.8432 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.006388, allocations: 4 kB / 0.8432 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006389, allocations: 0 / 0.8432 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.006391, allocations: 3.984 kB / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.006533, allocations: 218.1 kB / 0.8434 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.006545, allocations: 11.94 kB / 0.8435 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.006558, allocations: 8 kB / 0.8435 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/0.006621, allocations: 8 kB / 0.8435 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.006687, allocations: 39.94 kB / 0.8435 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.006694, allocations: 3.984 kB / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.006721, allocations: 38.83 kB / 0.8436 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006721, allocations: 0 / 0.8436 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001338/0.006855, allocations: 20 kB / 0.8436 GB, free: 8.891 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 9.827e-05/0.006953, allocations: 84.34 kB / 0.8437 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.007055, allocations: 48.78 kB / 0.8437 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.007058, allocations: 4 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.503e-05/0.007113, allocations: 40.83 kB / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.007264, allocations: 23.97 kB / 0.8438 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.007596, allocations: 231.2 kB / 0.844 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.332e-05/0.007639, allocations: 67.28 kB / 0.8441 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.09e-05/0.00772, allocations: 20.48 kB / 0.8441 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.007866, allocations: 75.36 kB / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.007866, allocations: 0 / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of Templates: time 0.004191/0.01206, allocations: 2.582 MB / 0.8467 GB, free: 5.691 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 -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.42583785019815]