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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_10_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.008508/0.008508, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002333/0.002333, allocations: 191.9 kB / 16.67 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.483/2.483, allocations: 437 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.001831, allocations: 59.91 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8216, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002141/0.8238, allocations: 0.8472 MB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.8251, allocations: 0.9114 MB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.53e-05/0.8252, allocations: 4 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.8254, allocations: 15.86 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.8255, allocations: 11.81 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.8257, allocations: 63.86 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.8259, allocations: 127.7 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.8261, allocations: 49.08 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.8262, allocations: 51.84 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.8264, allocations: 79.72 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.8264, allocations: 12 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.278e-05/0.8265, allocations: 12 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.8265, allocations: 39.83 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.8266, allocations: 59.66 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.8268, allocations: 143.1 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8268, allocations: 0 / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.674e-06/0.8269, allocations: 0 / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.8269, allocations: 0 / 1.169 GB, free: 1.32 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.0009319/0.8278, allocations: 446.9 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8279, allocations: 8.922 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.8279, allocations: 46.75 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.828, allocations: 12.84 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.8282, allocations: 209.8 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.8282, allocations: 15.94 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.8283, allocations: 8 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.8287, allocations: 145.5 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8287, allocations: 0 / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.8288, allocations: 4 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.8288, allocations: 0 / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.8294, allocations: 159.8 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007856/0.8302, allocations: 420.4 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008988/0.8311, allocations: 170.4 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.8314, allocations: 88.95 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.8314, allocations: 4 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.8315, allocations: 38.55 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 3.206e-06/0.8315, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0009834/0.8325, allocations: 281.7 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.8325, allocations: 59.34 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.8327, allocations: 151.7 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.8327, allocations: 29.7 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.8328, allocations: 104.1 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.8328, allocations: 27.73 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.8329, allocations: 41.69 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.833, allocations: 314.8 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.8333, allocations: 75.92 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.8336, allocations: 71.92 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.8341, allocations: 164.6 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8341, allocations: 0 / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006281/0.8348, allocations: 201.4 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.8348, allocations: 8 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8348, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8348, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.8351, allocations: 39.89 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.8351, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.8353, allocations: 27.92 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.8353, allocations: 11.98 kB / 1.172 GB, free: 13.77 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.0001173/0.8355, allocations: 113.8 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.8355, allocations: 24.25 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.8356, allocations: 16.7 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.8356, allocations: 4 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8356, allocations: 3.938 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8356, allocations: 3.938 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.8358, allocations: 225.5 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8359, allocations: 7.938 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.8361, allocations: 43.88 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8361, allocations: 4 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.8361, allocations: 4 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.8361, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8361, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.8369, allocations: 303.2 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.8369, allocations: 89 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.8369, allocations: 4 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.8372, allocations: 19.97 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.8373, allocations: 31.95 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.8373, allocations: 8 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.062e-05/0.8374, allocations: 121.1 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8374, allocations: 0 / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002641/0.8376, allocations: 19.95 kB / 1.173 GB, free: 12.65 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.0009962/0.8387, allocations: 0.8433 MB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006451/0.8393, allocations: 172 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8393, allocations: 0 / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.8397, allocations: 104 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.84, allocations: 15.98 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.8429, allocations: 1.843 MB / 1.176 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.8432, allocations: 0.708 MB / 1.176 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.8433, allocations: 16.44 kB / 1.176 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.8435, allocations: 47.41 kB / 1.176 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.8435, allocations: 0 / 1.176 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.8654, allocations: 3.812 MB / 1.18 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.669, allocations: 18.44 kB / 1.18 GB, free: 5.059 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/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