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.001106/0.001106, allocations: 108 kB / 15.6 MB, free: 132 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.001256/0.001256, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.405/2.405, allocations: 390.3 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 67.89 kB / 0.8127 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.6823, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002081/0.6845, allocations: 0.8297 MB / 0.9506 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.6855, allocations: 0.8968 MB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.6856, allocations: 5.312 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.6857, allocations: 15.8 kB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.6858, allocations: 18.55 kB / 0.9515 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.686, allocations: 56.67 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.6862, allocations: 130 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.6863, allocations: 44.31 kB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.6864, allocations: 59.53 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.6865, allocations: 78.31 kB / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.6866, allocations: 15.78 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.699e-05/0.6866, allocations: 12.81 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.6867, allocations: 33.19 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.6867, allocations: 59.45 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.6869, allocations: 133.4 kB / 0.9521 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6869, allocations: 1.344 kB / 0.9521 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6869, allocations: 0 / 0.9521 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6869, allocations: 0 / 0.9521 GB, free: 7.305 MB / 0.7169 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.0007458/0.6877, allocations: 452.1 kB / 0.9525 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6877, allocations: 13.66 kB / 0.9525 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.6878, allocations: 53.02 kB / 0.9526 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.6878, allocations: 11.47 kB / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.688, allocations: 205.6 kB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.688, allocations: 12.44 kB / 0.9528 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.688, allocations: 9.25 kB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.6885, allocations: 149.6 kB / 0.9529 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6885, allocations: 3.938 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.6885, allocations: 5.25 kB / 0.9529 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6885, allocations: 2.906 kB / 0.9529 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.6891, allocations: 150.1 kB / 0.9531 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.6896, allocations: 413.9 kB / 0.9535 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.6904, allocations: 177.8 kB / 0.9536 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.6907, allocations: 91.36 kB / 0.9537 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.6907, allocations: 1.594 kB / 0.9537 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.6907, allocations: 39.91 kB / 0.9538 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.6907, allocations: 0 / 0.9538 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0009075/0.6917, allocations: 281.2 kB / 0.954 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.6917, allocations: 56.47 kB / 0.9541 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.6918, allocations: 149.8 kB / 0.9542 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.6918, allocations: 25.7 kB / 0.9543 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.6919, allocations: 109.4 kB / 0.9544 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.6919, allocations: 31.48 kB / 0.9544 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.692, allocations: 26.36 kB / 0.9544 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.692, allocations: 322.9 kB / 0.9547 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.6923, allocations: 77.73 kB / 0.9548 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.6926, allocations: 75.73 kB / 0.9549 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.6931, allocations: 161.5 kB / 0.955 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6931, allocations: 0 / 0.955 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005742/0.6937, allocations: 202.5 kB / 0.9552 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6937, allocations: 13.33 kB / 0.9552 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6937, allocations: 4 kB / 0.9552 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6937, allocations: 1.188 kB / 0.9552 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.694, allocations: 39.39 kB / 0.9553 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.694, allocations: 0 / 0.9553 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.6941, allocations: 19.59 kB / 0.9553 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.6942, allocations: 3.25 kB / 0.9553 GB, free: 4.641 MB / 0.7169 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 7.69e-05/0.6942, allocations: 127.9 kB / 0.9554 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.6943, allocations: 16.94 kB / 0.9554 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.6943, allocations: 14.88 kB / 0.9555 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6943, allocations: 2.156 kB / 0.9555 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6943, allocations: 0 / 0.9555 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6943, allocations: 0 / 0.9555 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.6945, allocations: 237.3 kB / 0.9557 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6945, allocations: 0 / 0.9557 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.6948, allocations: 43.86 kB / 0.9557 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6948, allocations: 0 / 0.9557 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.6948, allocations: 10.16 kB / 0.9557 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6948, allocations: 0 / 0.9557 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6948, allocations: 0.9688 kB / 0.9557 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.6954, allocations: 302 kB / 0.956 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.6954, allocations: 95.52 kB / 0.9561 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.6954, allocations: 5.391 kB / 0.9561 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.6956, allocations: 18.41 kB / 0.9561 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.6957, allocations: 34.47 kB / 0.9562 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.6958, allocations: 7.844 kB / 0.9562 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.6958, allocations: 111.7 kB / 0.9563 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6958, allocations: 0 / 0.9563 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002412/0.6961, allocations: 23.28 kB / 0.9563 GB, free: 3.75 MB / 0.7169 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.0007948/0.6969, allocations: 0.8403 MB / 0.9571 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005871/0.6975, allocations: 174 kB / 0.9573 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6975, allocations: 1.375 kB / 0.9573 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.6978, allocations: 105.5 kB / 0.9574 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.698, allocations: 10.88 kB / 0.9574 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.7004, allocations: 1.85 MB / 0.9592 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.7006, allocations: 0.709 MB / 0.9599 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.7007, allocations: 25.36 kB / 0.9599 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.7008, allocations: 46.25 kB / 0.96 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7008, allocations: 0 / 0.96 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.7228, allocations: 3.765 MB / 0.9636 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.729, allocations: 1.125 kB / 0.9636 GB, free: 14.62 MB / 0.7325 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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