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.008269/0.008269, allocations: 98.66 kB / 15.73 MB, free: 5.988 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.002121/0.002121, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.588/2.588, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3018, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002073/0.3039, allocations: 0.856 MB / 1.167 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3051, allocations: 0.8974 MB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.3052, allocations: 0 / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.3053, allocations: 11.86 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.3055, allocations: 19.81 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.3057, allocations: 55.91 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3059, allocations: 131.7 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.306, allocations: 45.05 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3061, allocations: 55.83 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.3063, allocations: 79.72 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.3063, allocations: 12 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.754e-05/0.3063, allocations: 12 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.56e-05/0.3064, allocations: 35.91 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.3065, allocations: 63.58 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3067, allocations: 143.7 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3067, allocations: 0 / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3067, allocations: 0 / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3067, allocations: 0 / 1.169 GB, free: 4.844 MB / 0.92 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.0008625/0.3076, allocations: 454.8 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3076, allocations: 8.031 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.3077, allocations: 42.73 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.3078, allocations: 16.84 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.308, allocations: 208.7 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.308, allocations: 7.938 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.3081, allocations: 12 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.3085, allocations: 145.5 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3085, allocations: 0 / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.3086, allocations: 8 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3086, allocations: 0 / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.3092, allocations: 155.8 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007374/0.3099, allocations: 420.4 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008808/0.3108, allocations: 178.5 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.3111, allocations: 80.86 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.3112, allocations: 4 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3112, allocations: 30.56 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.614e-06/0.3112, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.000984/0.3122, allocations: 289.4 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3122, allocations: 51.41 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3124, allocations: 161 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3124, allocations: 29.64 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.3125, allocations: 108 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.3125, allocations: 31.73 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.3126, allocations: 25.7 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.3127, allocations: 326.8 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.313, allocations: 71.92 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.3132, allocations: 79.92 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.3138, allocations: 152.7 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3138, allocations: 4 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006082/0.3144, allocations: 197.4 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3144, allocations: 4.656 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3144, allocations: 4 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3144, allocations: 3.984 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3147, allocations: 47.89 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3147, allocations: 0 / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.3149, allocations: 27.86 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.3149, allocations: 0 / 1.172 GB, free: 1.289 MB / 0.92 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.0001249/0.3151, allocations: 128.6 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.3151, allocations: 15.88 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.3152, allocations: 16.72 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3152, allocations: 4 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3152, allocations: 0 / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3152, allocations: 0 / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.3155, allocations: 233.5 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3155, allocations: 3.938 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.3157, allocations: 39.95 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3158, allocations: 4 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3158, allocations: 4 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.3158, allocations: 3.938 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3158, allocations: 4 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.3164, allocations: 299.3 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.3165, allocations: 88.94 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3165, allocations: 15.92 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3167, allocations: 15.98 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.3168, allocations: 35.95 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3169, allocations: 4 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.526e-05/0.3169, allocations: 109.1 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3169, allocations: 0 / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002599/0.3172, allocations: 31.89 kB / 1.173 GB, free: 168 kB / 0.92 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.001024/0.3182, allocations: 0.8411 MB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006245/0.3189, allocations: 179.9 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3189, allocations: 0 / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.3192, allocations: 103.8 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3195, allocations: 14.58 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.3223, allocations: 1.843 MB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.3226, allocations: 0.7046 MB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.3227, allocations: 24.42 kB / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3228, allocations: 51.41 kB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.3228, allocations: 0 / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.346, allocations: 3.811 MB / 1.18 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.255, allocations: 8.016 kB / 1.18 GB, free: 8.566 MB / 0.9356 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