Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 113.2 kB / 16.42 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 187 kB / 17.35 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 67.89 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9468/0.9486, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001871/0.9505, allocations: 0.8475 MB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.9515, allocations: 0.9012 MB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.9515, allocations: 1.75 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.9516, allocations: 9.891 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.9518, allocations: 17.06 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.9519, allocations: 62.88 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.9521, allocations: 127 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.9523, allocations: 45 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.9524, allocations: 58.34 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.9525, allocations: 86.67 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.9526, allocations: 12.81 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.751e-05/0.9526, allocations: 11.09 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.9527, allocations: 34.73 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.9528, allocations: 57.89 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.953, allocations: 143.2 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.953, allocations: 1.156 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.953, allocations: 0 / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.953, allocations: 0 / 1.091 GB, free: 3.957 MB / 0.8575 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.0007835/0.9538, allocations: 443.5 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9539, allocations: 8.375 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.9539, allocations: 15.41 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.9541, allocations: 207.3 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.9541, allocations: 11.75 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.9542, allocations: 5.906 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.9546, allocations: 150.2 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.9547, allocations: 0 / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.9547, allocations: 2.094 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.9547, allocations: 1.844 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.9553, allocations: 168.4 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.956, allocations: 420.2 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008765/0.9569, allocations: 167.9 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.9572, allocations: 86.47 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.9572, allocations: 1.312 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.9573, allocations: 40.83 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.9573, allocations: 0 / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001022/0.9583, allocations: 283.5 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.9583, allocations: 52.95 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.9585, allocations: 151.5 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.9585, allocations: 25.7 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.9586, allocations: 116.9 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.9586, allocations: 33.83 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.9587, allocations: 31.16 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.9587, allocations: 321.1 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.9591, allocations: 70.58 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.9594, allocations: 79.95 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.9599, allocations: 158.4 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.96, allocations: 0 / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006256/0.9606, allocations: 203.8 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9606, allocations: 9.547 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9606, allocations: 1.062 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.9606, allocations: 1.828 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.9609, allocations: 38.8 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.9609, allocations: 4.688 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.9611, allocations: 23.64 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.9612, allocations: 7.25 kB / 1.094 GB, free: 1.805 MB / 0.8575 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.000111/0.9613, allocations: 119.1 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.9613, allocations: 13.58 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.9614, allocations: 16.22 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9614, allocations: 1.328 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9614, allocations: 4 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.9614, allocations: 88.64 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.9615, allocations: 6.359 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.9617, allocations: 18.45 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.9618, allocations: 30.3 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008412/0.9627, allocations: 302.4 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007008/0.9634, allocations: 389.9 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003185/0.9637, allocations: 91.94 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.639e-05/0.9638, allocations: 109.4 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of Backend: time 2.8e-07/0.9638, allocations: 0 / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006524/0.9645, allocations: 179.3 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005218/0.965, allocations: 0.657 MB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of Templates: time 0.006561/0.9716, allocations: 2.678 MB / 1.099 GB, free: 148 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches