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.0007777/0.0007777, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007798/0.0007798, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8777/0.8777, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.683/1.683, allocations: 359 MB / 0.6044 GB, free: 11.09 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.1.|add1.u.2.|add1.u.3.|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.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.9518 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.48e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001697/0.001721, allocations: 0.8141 MB / 0.9526 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.002659, allocations: 0.9217 MB / 0.9535 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.002722, allocations: 4 kB / 0.9535 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.002823, allocations: 11.81 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.002925, allocations: 19.78 kB / 0.9535 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.003111, allocations: 63.8 kB / 0.9535 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.003253, allocations: 127.7 kB / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.003382, allocations: 29.28 kB / 0.9537 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.003481, allocations: 79.86 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.003661, allocations: 67.84 kB / 0.9538 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.003692, allocations: 12 kB / 0.9538 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.003708, allocations: 12 kB / 0.9539 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.003761, allocations: 35.84 kB / 0.9539 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.003803, allocations: 31.91 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.003969, allocations: 159.5 kB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.003973, allocations: 3.938 kB / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.473e-06/0.003974, allocations: 0 / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003979, allocations: 0 / 0.9541 GB, free: 0.543 MB / 0.9011 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.0005864/0.004565, allocations: 379.8 kB / 0.9544 GB, free: 148 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.004601, allocations: 12.03 kB / 0.9545 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.004642, allocations: 20.77 kB / 0.9545 GB, free: 116 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.004814, allocations: 144 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.00483, allocations: 8.375 kB / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.004847, allocations: 8.375 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.005119, allocations: 157.4 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.005127, allocations: 0 / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.005141, allocations: 4 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005147, allocations: 0 / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.005445, allocations: 159.8 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.005889, allocations: 332.2 kB / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.006368, allocations: 162.5 kB / 0.9554 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.006521, allocations: 84.92 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.00654, allocations: 3.938 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.006724, allocations: 42.55 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.006724, allocations: 4 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0005572/0.007282, allocations: 269.5 kB / 0.9558 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.007314, allocations: 51.41 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.007413, allocations: 165.1 kB / 0.956 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.007429, allocations: 29.7 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.007481, allocations: 108 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.007507, allocations: 27.73 kB / 0.9562 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.007552, allocations: 33.69 kB / 0.9562 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.007627, allocations: 318.8 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.007775, allocations: 75.92 kB / 0.9566 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.007914, allocations: 76.3 kB / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.008195, allocations: 164.8 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.008198, allocations: 0 / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003338/0.008532, allocations: 201.4 kB / 0.957 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.008546, allocations: 4 kB / 0.957 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.008552, allocations: 4 kB / 0.957 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.008566, allocations: 3.938 kB / 0.957 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.008689, allocations: 35.95 kB / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.008694, allocations: 0 / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.873e-05/0.008773, allocations: 35.86 kB / 0.9571 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.008782, allocations: 3.984 kB / 0.9571 GB, free: 13.3 MB / 0.9167 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 8.421e-05/0.008866, allocations: 121.8 kB / 0.9572 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.008889, allocations: 7.953 kB / 0.9572 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.008916, allocations: 20.77 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.00892, allocations: 3.938 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.008925, allocations: 0 / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.008927, allocations: 4 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.009064, allocations: 149.3 kB / 0.9574 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.009065, allocations: 7.938 kB / 0.9574 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.009167, allocations: 35.95 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.00917, allocations: 4 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.00918, allocations: 3.984 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.009182, allocations: 0 / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.009184, allocations: 3.938 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.009551, allocations: 303.3 kB / 0.9577 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.009563, allocations: 8.047 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.009579, allocations: 7.938 kB / 0.9577 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.009672, allocations: 19.97 kB / 0.9577 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.009747, allocations: 39.83 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.009757, allocations: 8 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.009815, allocations: 111.2 kB / 0.9579 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009815, allocations: 4 kB / 0.9579 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001789/0.009994, allocations: 27.89 kB / 0.9579 GB, free: 12.38 MB / 0.9167 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.487e-05/0.01009, allocations: 99.25 kB / 0.958 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.01043, allocations: 171.8 kB / 0.9582 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01043, allocations: 0 / 0.9582 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.01059, allocations: 95.86 kB / 0.9583 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.01081, allocations: 11.98 kB / 0.9583 GB, free: 12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.01123, allocations: 270.9 kB / 0.9585 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.734e-05/0.0113, allocations: 93.31 kB / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.01137, allocations: 24.48 kB / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.01137, allocations: 3.938 kB / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of Templates: time 0.002784/0.01415, allocations: 1.859 MB / 0.9605 GB, free: 9.711 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.609558908268809]