Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001101/0.001101, allocations: 102.8 kB / 16.41 MB, free: 6.508 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.001122/0.001122, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.00151, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8148/0.8163, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.0022/0.8186, allocations: 0.8436 MB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.8198, allocations: 0.9114 MB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.8199, allocations: 0 / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.82, allocations: 19.81 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.8202, allocations: 11.86 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.8204, allocations: 63.86 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.8206, allocations: 123.7 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.8207, allocations: 49.03 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.978e-05/0.8209, allocations: 55.83 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.8211, allocations: 75.72 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.8211, allocations: 12 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.374e-05/0.8211, allocations: 20 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.8212, allocations: 27.91 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.8213, allocations: 63.64 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.8215, allocations: 143.4 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8215, allocations: 0 / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8215, allocations: 0 / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.8215, allocations: 0 / 1.17 GB, free: 1.426 MB / 0.8887 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.0008415/0.8224, allocations: 444.7 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.8224, allocations: 8.031 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.8225, allocations: 16.75 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.8227, allocations: 214.3 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.8227, allocations: 12.12 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.8228, allocations: 4 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.8232, allocations: 157.4 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8232, allocations: 4 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.8232, allocations: 0 / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.8232, allocations: 4 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.8238, allocations: 151.8 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.8245, allocations: 412.5 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.8254, allocations: 174.4 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.8257, allocations: 96.89 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.8258, allocations: 3.984 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.8258, allocations: 34.56 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.8258, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0009725/0.8268, allocations: 281.2 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.8268, allocations: 51.41 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.827, allocations: 152 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.827, allocations: 25.7 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.8271, allocations: 112 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.8271, allocations: 23.66 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.8272, allocations: 37.69 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8274, allocations: 322.8 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.8277, allocations: 63.94 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.8279, allocations: 79.86 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.8285, allocations: 160.7 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8285, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006284/0.8291, allocations: 217.7 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8291, allocations: 4 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8292, allocations: 0 / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.8292, allocations: 0 / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.8295, allocations: 35.95 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.8295, allocations: 0 / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.8297, allocations: 23.97 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.8297, allocations: 11.98 kB / 1.173 GB, free: 13.93 MB / 0.9044 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.0001298/0.8298, allocations: 121.8 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.8299, allocations: 11.84 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.8299, allocations: 16.7 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8299, allocations: 4 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.83, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.83, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.8303, allocations: 245.3 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.8303, allocations: 7.984 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.8305, allocations: 39.89 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8305, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.8305, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8305, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8306, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.8312, allocations: 303.2 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.8313, allocations: 88.95 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.8314, allocations: 0 / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.8316, allocations: 23.97 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.8317, allocations: 31.95 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.8317, allocations: 12 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.639e-05/0.8318, allocations: 112.9 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8318, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002611/0.8321, allocations: 23.91 kB / 1.174 GB, free: 12.82 MB / 0.9044 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.0001538/0.8322, allocations: 107.2 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000606/0.8328, allocations: 175.9 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8329, allocations: 0 / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.8331, allocations: 91.92 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.8335, allocations: 19.92 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.8341, allocations: 267.7 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.8344, allocations: 0.7118 MB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.8345, allocations: 23.42 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.8345, allocations: 0 / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of Templates: time 0.003521/0.838, allocations: 1.821 MB / 1.177 GB, free: 9.566 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches