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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.711/1.711, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.994/2.994, allocations: 489.3 MB / 0.7687 GB, free: 3.977 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_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.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9105/0.9126, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001995/0.9146, allocations: 0.8583 MB / 1.263 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.9157, allocations: 0.8884 MB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.9157, allocations: 2.188 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.9159, allocations: 10.45 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.896e-05/0.916, allocations: 28.25 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.9161, allocations: 54.53 kB / 1.264 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.9164, allocations: 131.9 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.9166, allocations: 40.61 kB / 1.265 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.9167, allocations: 58.72 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.9169, allocations: 82.88 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.9169, allocations: 11.88 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.48e-05/0.917, allocations: 12.5 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.917, allocations: 34.25 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.9171, allocations: 61.67 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.9174, allocations: 141.8 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9174, allocations: 0 / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9174, allocations: 0.8438 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.9174, allocations: 0 / 1.265 GB, free: 6.48 MB / 0.9981 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.0009592/0.9184, allocations: 444.6 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.9185, allocations: 10.52 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.9185, allocations: 14.53 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.9188, allocations: 217.8 kB / 1.266 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.9188, allocations: 8.594 kB / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.9188, allocations: 13.55 kB / 1.266 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.9194, allocations: 143.6 kB / 1.266 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9194, allocations: 0 / 1.266 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.9194, allocations: 4.812 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.9194, allocations: 2.312 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.9201, allocations: 163.7 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.9208, allocations: 405.8 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009469/0.9217, allocations: 178.9 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.9221, allocations: 83.23 kB / 1.267 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.9221, allocations: 1.562 kB / 1.267 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.9221, allocations: 36.03 kB / 1.267 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.9222, allocations: 3.938 kB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.001104/0.9233, allocations: 284 kB / 1.267 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.9233, allocations: 57.55 kB / 1.267 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.9235, allocations: 150.4 kB / 1.267 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.9235, allocations: 26.52 kB / 1.267 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.9235, allocations: 112.7 kB / 1.267 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.9236, allocations: 29.42 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.9237, allocations: 28.39 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.9237, allocations: 325 kB / 1.268 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.9241, allocations: 73.84 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.9244, allocations: 75.44 kB / 1.268 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006125/0.925, allocations: 166.8 kB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.925, allocations: 0 / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006948/0.9257, allocations: 200.5 kB / 1.268 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.9257, allocations: 9.594 kB / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9257, allocations: 0.7031 kB / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.9258, allocations: 4.891 kB / 1.268 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.926, allocations: 43.3 kB / 1.268 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.9261, allocations: 0.8438 kB / 1.268 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.9262, allocations: 19.66 kB / 1.268 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.9263, allocations: 7.484 kB / 1.268 GB, free: 4.316 MB / 0.9981 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.803e-05/0.9264, allocations: 127.1 kB / 1.268 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.9264, allocations: 12.64 kB / 1.268 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.9265, allocations: 17.33 kB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.9265, allocations: 1.5 kB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9265, allocations: 1.094 kB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.9265, allocations: 0.6562 kB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.9267, allocations: 234.6 kB / 1.269 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9267, allocations: 0 / 1.269 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.927, allocations: 52.23 kB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.927, allocations: 0.875 kB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.927, allocations: 2.438 kB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.927, allocations: 1.844 kB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.927, allocations: 0 / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.9277, allocations: 302.2 kB / 1.269 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.9278, allocations: 96 kB / 1.269 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.9278, allocations: 2.062 kB / 1.269 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.928, allocations: 17.8 kB / 1.269 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.9281, allocations: 38.89 kB / 1.269 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.9282, allocations: 9.453 kB / 1.269 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.751e-05/0.9282, allocations: 108.3 kB / 1.269 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9283, allocations: 4.938 kB / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002458/0.9285, allocations: 22.38 kB / 1.269 GB, free: 3.531 MB / 0.9981 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.0001298/0.9286, allocations: 99.23 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006671/0.9293, allocations: 174.1 kB / 1.269 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9293, allocations: 0 / 1.269 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.9297, allocations: 93.75 kB / 1.269 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.93, allocations: 18.2 kB / 1.27 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.9305, allocations: 276.5 kB / 1.27 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.9306, allocations: 0.7036 MB / 1.27 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.9307, allocations: 26.69 kB / 1.27 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/0.9308, allocations: 0.9062 kB / 1.27 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of Templates: time 0.003873/0.9346, allocations: 1.822 MB / 1.272 GB, free: 2.336 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.79436436505057]