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.001887/0.001887, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.439/2.439, allocations: 437.1 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6013, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002081/0.6034, allocations: 0.8529 MB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.6047, allocations: 0.9013 MB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.6048, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.6049, allocations: 15.81 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.6051, allocations: 19.84 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.6053, allocations: 55.88 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.6055, allocations: 127.7 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.6057, allocations: 45.09 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.6058, allocations: 59.77 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.606, allocations: 79.72 kB / 1.02 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.606, allocations: 12 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.788e-05/0.606, allocations: 12 kB / 1.02 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.6061, allocations: 31.84 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.6062, allocations: 63.7 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.6064, allocations: 135.5 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6064, allocations: 0 / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.466e-06/0.6065, allocations: 0 / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.6065, allocations: 0 / 1.02 GB, free: 92 kB / 0.7637 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.0009876/0.6075, allocations: 453.1 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6075, allocations: 8.031 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.6076, allocations: 42.75 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.6076, allocations: 8.844 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.6079, allocations: 216.5 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.6079, allocations: 12.12 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.6079, allocations: 8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.6084, allocations: 150.9 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6084, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.6084, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.6084, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.609, allocations: 159.8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.6096, allocations: 416.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008563/0.6105, allocations: 174.4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.6108, allocations: 84.95 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.6108, allocations: 7.984 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.6108, allocations: 30.56 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.6108, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0009454/0.6118, allocations: 277.2 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.6118, allocations: 55.34 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.612, allocations: 149.6 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.612, allocations: 37.7 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.6121, allocations: 107.9 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.6121, allocations: 27.56 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.6122, allocations: 33.69 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.6123, allocations: 322.8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.6126, allocations: 71.92 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.6128, allocations: 76.3 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.6133, allocations: 156.8 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6134, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006432/0.614, allocations: 213.3 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.614, allocations: 5.719 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6141, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6141, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.6143, allocations: 43.89 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.6143, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.6145, allocations: 23.97 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.6146, allocations: 7.984 kB / 1.023 GB, free: 12.54 MB / 0.7794 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.0001159/0.6147, allocations: 117.8 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.6147, allocations: 15.75 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.6148, allocations: 16.7 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6148, allocations: 8 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6148, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6148, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.615, allocations: 241.5 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6151, allocations: 3.984 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.6153, allocations: 39.89 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6153, allocations: 3.938 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.6153, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6153, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6153, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.616, allocations: 307.3 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.6161, allocations: 92.86 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.6161, allocations: 7.938 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.6163, allocations: 23.97 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6164, allocations: 31.95 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.6164, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.014e-05/0.6165, allocations: 117.7 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6165, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002533/0.6168, allocations: 20 kB / 1.024 GB, free: 11.41 MB / 0.7794 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.0009715/0.6177, allocations: 0.8411 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006192/0.6184, allocations: 175.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6184, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.6187, allocations: 99.84 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.619, allocations: 19.98 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.6217, allocations: 1.838 MB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.622, allocations: 0.708 MB / 1.028 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.6221, allocations: 20.42 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.6222, allocations: 43.41 kB / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.6222, allocations: 0 / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.6412, allocations: 3.77 MB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.758, allocations: 14.25 kB / 1.031 GB, free: 3.852 MB / 0.7794 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