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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007188/0.007188, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001719/0.00172, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.345/1.345, allocations: 222.9 MB / 240.4 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.175/2.175, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8276, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00252/0.8301, allocations: 0.8445 MB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.8315, allocations: 0.892 MB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.8315, allocations: 2.219 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.8317, allocations: 10.31 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.8318, allocations: 27.77 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.832, allocations: 54.89 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.8323, allocations: 128.3 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.8325, allocations: 44.06 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.8326, allocations: 62 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.8328, allocations: 83.41 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.8328, allocations: 11.84 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.321e-05/0.8329, allocations: 12.12 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.8329, allocations: 30.73 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.833, allocations: 61.42 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.8333, allocations: 143.5 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8333, allocations: 4.562 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8333, allocations: 0 / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8333, allocations: 1.031 kB / 1.09 GB, free: 3.711 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.0009434/0.8343, allocations: 442.2 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.8344, allocations: 10.77 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.8344, allocations: 43.69 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.8345, allocations: 14.75 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.8347, allocations: 211.5 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.8347, allocations: 11.94 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.8348, allocations: 9.469 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.8354, allocations: 144.1 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8354, allocations: 0 / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.8355, allocations: 1.094 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.8355, allocations: 2.188 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008545/0.8363, allocations: 163.6 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008238/0.8372, allocations: 412.7 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.8386, allocations: 179.3 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/0.8391, allocations: 88.11 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.8392, allocations: 1 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.8392, allocations: 36.25 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.8392, allocations: 0 / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001705/0.8409, allocations: 279.4 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.841, allocations: 53.61 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.8412, allocations: 149.9 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.8412, allocations: 29.7 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.8413, allocations: 112.7 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.8413, allocations: 25.78 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.8415, allocations: 39.7 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.8416, allocations: 324.8 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/0.8421, allocations: 74.88 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.8426, allocations: 71.44 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.8437, allocations: 157.2 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8437, allocations: 0.5625 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001166/0.8449, allocations: 205 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.8449, allocations: 9.094 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8449, allocations: 4.828 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.8449, allocations: 0.5625 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.8454, allocations: 36.39 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.8455, allocations: 4.625 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.8458, allocations: 27.58 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.8458, allocations: 3.578 kB / 1.093 GB, free: 1.516 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.0001343/0.846, allocations: 122.1 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.8461, allocations: 17.33 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.8461, allocations: 17.45 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.8461, allocations: 1.062 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.8462, allocations: 1.125 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8462, allocations: 0.5625 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.8466, allocations: 233.5 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.8466, allocations: 5.562 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.8471, allocations: 39.66 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.8471, allocations: 0.5938 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.8471, allocations: 10.97 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.8472, allocations: 1.547 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.8472, allocations: 0 / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.8484, allocations: 302 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.8485, allocations: 88.91 kB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.8485, allocations: 5.375 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.8489, allocations: 22.31 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.849, allocations: 38.8 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.8491, allocations: 5.203 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001142/0.8492, allocations: 115 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8492, allocations: 4 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004871/0.8497, allocations: 19.16 kB / 1.094 GB, free: 0.7422 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.001633/0.8514, allocations: 0.8488 MB / 1.095 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.8526, allocations: 165.6 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8526, allocations: 4 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006081/0.8532, allocations: 102.6 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.8537, allocations: 12.89 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.8588, allocations: 1.851 MB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.8592, allocations: 0.7075 MB / 1.098 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.8594, allocations: 20.5 kB / 1.098 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.8596, allocations: 45.17 kB / 1.098 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of SimCode: time 7.61e-07/0.8596, allocations: 0 / 1.098 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.8899, allocations: 3.883 MB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.779, allocations: 14.19 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > 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) "" Variables in the reference:time,add1.u[1],add1.u[2],add1.u[3],add1.y Variables in the result:add1.k[1],add1.k[2],add1.k[3],add1.nin,add1.u[1],add1.u[2],add1.u[3],add1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,reaToInt2.u,reaToInt2.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,round3.n,round3.u,round3.y,time