Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_11_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.007794/0.007794, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002142/0.002142, allocations: 202.7 kB / 16.68 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2722, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001927/0.2742, allocations: 0.8496 MB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2753, allocations: 0.8974 MB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.2753, allocations: 0 / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.93e-05/0.2754, allocations: 11.86 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.627e-05/0.2755, allocations: 23.8 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.2757, allocations: 51.92 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.2759, allocations: 131.7 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.276, allocations: 49.08 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.2761, allocations: 55.83 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.2763, allocations: 79.72 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.2763, allocations: 12 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.576e-05/0.2764, allocations: 12 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.2764, allocations: 35.84 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.2765, allocations: 59.7 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2767, allocations: 143.3 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2767, allocations: 0 / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2767, allocations: 0 / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.2767, allocations: 3.938 kB / 1.223 GB, free: 11.88 MB / 0.9825 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.0008319/0.2776, allocations: 450.9 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2776, allocations: 12.03 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.2777, allocations: 34.75 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.2777, allocations: 16.84 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.2779, allocations: 217.7 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.278, allocations: 11.94 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.278, allocations: 15.92 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.2784, allocations: 151.4 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2784, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.2785, allocations: 4 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2785, allocations: 4 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005922/0.2791, allocations: 151.8 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.2797, allocations: 416.5 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008769/0.2806, allocations: 174.4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.281, allocations: 88.94 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.281, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.281, allocations: 34.56 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.281, allocations: 0 / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.001028/0.2821, allocations: 285.4 kB / 1.225 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2821, allocations: 51.41 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2823, allocations: 152.5 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.2823, allocations: 29.7 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.2824, allocations: 108 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.2824, allocations: 27.75 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.2825, allocations: 33.69 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2826, allocations: 322.8 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.2829, allocations: 71.86 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.2832, allocations: 84.23 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.2838, allocations: 152.7 kB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2838, allocations: 8 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006513/0.2845, allocations: 201.4 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2845, allocations: 4 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2845, allocations: 0 / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2845, allocations: 0 / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.2848, allocations: 39.95 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2848, allocations: 3.984 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.285, allocations: 23.88 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.285, allocations: 7.984 kB / 1.226 GB, free: 8.32 MB / 0.9825 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.0001157/0.2852, allocations: 125.8 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.2852, allocations: 11.89 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.2853, allocations: 20.7 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2853, allocations: 4 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2853, allocations: 0 / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2853, allocations: 0 / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.2856, allocations: 245.4 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2856, allocations: 3.938 kB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.2858, allocations: 35.95 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2858, allocations: 0 / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2858, allocations: 0 / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.2859, allocations: 8 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2859, allocations: 4 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007123/0.2866, allocations: 299.5 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.2866, allocations: 89 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.2867, allocations: 4 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.2869, allocations: 23.97 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.287, allocations: 31.95 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.287, allocations: 4 kB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.831e-05/0.2871, allocations: 117.1 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2871, allocations: 0 / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002601/0.2874, allocations: 27.95 kB / 1.227 GB, free: 7.188 MB / 0.9825 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.001043/0.2884, allocations: 0.8377 MB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006363/0.2891, allocations: 175.8 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2891, allocations: 0 / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.2894, allocations: 91.92 kB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.2897, allocations: 19.98 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.2927, allocations: 1.861 MB / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.293, allocations: 0.7046 MB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.2931, allocations: 24.42 kB / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.2932, allocations: 43.42 kB / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.2932, allocations: 0 / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.3171, allocations: 3.813 MB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.985, allocations: 11.92 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches