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.001427/0.001427, allocations: 104.2 kB / 16.41 MB, free: 6.016 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.00159/0.00159, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 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.349/2.349, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002388, allocations: 68.12 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8338, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001871/0.8357, allocations: 0.8507 MB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009619/0.8367, allocations: 0.893 MB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.8368, allocations: 1.562 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.8369, allocations: 14.3 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.837, allocations: 20.98 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.8372, allocations: 53.66 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.8374, allocations: 132.4 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.8375, allocations: 52.11 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.8376, allocations: 58.77 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.8378, allocations: 78.78 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.8378, allocations: 12.72 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.495e-05/0.8379, allocations: 12.41 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.8379, allocations: 33.78 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.956e-05/0.838, allocations: 61.42 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.8382, allocations: 144 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8382, allocations: 0.7969 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8382, allocations: 0 / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8382, allocations: 4 kB / 1.091 GB, free: 3.961 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.0007312/0.8389, allocations: 438.5 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.839, allocations: 9.844 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.839, allocations: 14.83 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.8392, allocations: 207.5 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.8392, allocations: 8.469 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.8393, allocations: 9.25 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.8397, allocations: 151.4 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8397, allocations: 0 / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.8398, allocations: 9.359 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.8398, allocations: 1.281 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.8403, allocations: 161.1 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.8409, allocations: 411.4 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008639/0.8418, allocations: 183.9 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.8421, allocations: 83.3 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.8422, allocations: 1.656 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.8422, allocations: 32.11 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.8422, allocations: 0.7812 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0009676/0.8432, allocations: 282.9 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.8432, allocations: 53.34 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.8433, allocations: 154.3 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.8433, allocations: 25.7 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.8434, allocations: 112.7 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.8434, allocations: 29.34 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.8435, allocations: 27.28 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.8436, allocations: 325.8 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.8439, allocations: 74.19 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.8441, allocations: 79.45 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.8447, allocations: 149.8 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8447, allocations: 4.812 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006326/0.8454, allocations: 208.7 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.8454, allocations: 5.281 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.8454, allocations: 0.75 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.8454, allocations: 0.9062 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.8457, allocations: 43.72 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.8457, allocations: 1.438 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.8459, allocations: 22.09 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.8459, allocations: 4.375 kB / 1.094 GB, free: 1.824 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 9.212e-05/0.846, allocations: 130.2 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.8461, allocations: 13.39 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.8461, allocations: 21 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.8461, allocations: 1.625 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8461, allocations: 0 / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8461, allocations: 1.828 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.8464, allocations: 234.5 kB / 1.095 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8464, allocations: 0 / 1.095 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.8467, allocations: 44.14 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8467, allocations: 0.7969 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.8467, allocations: 3.578 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8467, allocations: 0 / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.8467, allocations: 4.656 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.8474, allocations: 302.5 kB / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.8474, allocations: 88.53 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.8474, allocations: 5.031 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.8477, allocations: 18.53 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.8478, allocations: 35.25 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.8478, allocations: 3.891 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.916e-05/0.8479, allocations: 115.5 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8479, allocations: 0 / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002633/0.8482, allocations: 23.22 kB / 1.095 GB, free: 1.055 MB / 0.8575 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.0001471/0.8483, allocations: 107.8 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000705/0.849, allocations: 173.3 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.849, allocations: 0.8438 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.8494, allocations: 93.45 kB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.8497, allocations: 16.66 kB / 1.096 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.8503, allocations: 278.5 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.8504, allocations: 0.711 MB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.8506, allocations: 25.78 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8506, allocations: 0 / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.004624/0.8552, allocations: 1.82 MB / 1.098 GB, free: 15.84 MB / 0.8731 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