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.001629/0.001629, allocations: 107.6 kB / 16.45 MB, free: 6.5 MB / 14.72 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.00183/0.00183, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.412/3.412, allocations: 0.4899 GB / 0.7915 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|add1.u.2.|add1.u.3.|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.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 74.84 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4195, allocations: 176.1 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002382/0.4219, allocations: 0.868 MB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.4233, allocations: 0.9172 MB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.4234, allocations: 4 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.4235, allocations: 15.86 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.4236, allocations: 19.8 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.4238, allocations: 63.8 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.424, allocations: 123.7 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.4241, allocations: 29.11 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.4242, allocations: 63.81 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.4244, allocations: 83.66 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.4244, allocations: 15.94 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.535e-05/0.4245, allocations: 16 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.4245, allocations: 31.91 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.811e-05/0.4246, allocations: 55.7 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.4248, allocations: 139.4 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4248, allocations: 0 / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4248, allocations: 0 / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.4248, allocations: 0 / 1.324 GB, free: 364 kB / 1.014 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.0009552/0.4258, allocations: 458.7 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4258, allocations: 11.98 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.4259, allocations: 16.84 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.4261, allocations: 204.7 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.4262, allocations: 16.08 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.4262, allocations: 4 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.4267, allocations: 151.4 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4267, allocations: 4 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4267, allocations: 0 / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.4267, allocations: 4 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.4273, allocations: 155.8 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.428, allocations: 424.4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008992/0.4289, allocations: 170.6 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.4293, allocations: 84.83 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.4293, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4293, allocations: 34.5 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.4293, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.00106/0.4304, allocations: 285.8 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.4304, allocations: 51.5 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.4306, allocations: 152.4 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.4306, allocations: 25.7 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/0.4307, allocations: 112 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.4308, allocations: 31.73 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.4308, allocations: 29.7 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.431, allocations: 326.8 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.4313, allocations: 67.92 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.4316, allocations: 75.92 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.4322, allocations: 164.6 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4322, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006733/0.4328, allocations: 205.4 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4329, allocations: 4 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.4329, allocations: 3.984 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4329, allocations: 3.938 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.4332, allocations: 39.95 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4332, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.4334, allocations: 27.91 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.4334, allocations: 4 kB / 1.327 GB, free: 12.85 MB / 1.029 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 0.0001479/0.4335, allocations: 121.8 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.4336, allocations: 19.84 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.4336, allocations: 12.72 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.4336, allocations: 4.281 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4336, allocations: 0 / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4336, allocations: 0 / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.4339, allocations: 237.5 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4339, allocations: 4 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.4342, allocations: 47.83 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4342, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4342, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4342, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4342, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.435, allocations: 307.2 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.4351, allocations: 92.98 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.4351, allocations: 0 / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.4353, allocations: 23.97 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4354, allocations: 31.97 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4354, allocations: 8 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.329e-05/0.4355, allocations: 114.1 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4355, allocations: 0 / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002545/0.4358, allocations: 23.94 kB / 1.328 GB, free: 11.73 MB / 1.029 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 0.0001856/0.436, allocations: 99.25 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006765/0.4366, allocations: 175.8 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4366, allocations: 0 / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.437, allocations: 95.84 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.4373, allocations: 19.88 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.4379, allocations: 254.3 kB / 1.328 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.4383, allocations: 0.7002 MB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.4384, allocations: 32.36 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.417e-05/0.4385, allocations: 23.42 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4385, allocations: 0 / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of Templates: time 0.006005/0.4445, allocations: 2.412 MB / 1.332 GB, free: 7.883 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.532383482903242]