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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 207.1 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.904/2.904, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.45 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3341, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002351/0.3365, allocations: 0.8276 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3381, allocations: 0.9132 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.293e-05/0.3382, allocations: 0 / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.3383, allocations: 11.81 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.3384, allocations: 19.86 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.3386, allocations: 63.86 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.3389, allocations: 131.7 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.339, allocations: 28.81 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3392, allocations: 55.78 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.3393, allocations: 75.72 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.3394, allocations: 12 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.055e-05/0.3394, allocations: 12 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.3395, allocations: 35.89 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.977e-05/0.3396, allocations: 47.72 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3398, allocations: 145.1 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3398, allocations: 7.984 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3398, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.3398, allocations: 3.938 kB / 1.285 GB, free: 10.07 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.0009408/0.3407, allocations: 373.7 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3408, allocations: 8.031 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.3409, allocations: 46.73 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.3409, allocations: 12.89 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3411, allocations: 138.9 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3412, allocations: 15.94 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.3412, allocations: 8 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.3416, allocations: 153.4 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3417, allocations: 0 / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3417, allocations: 4 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3417, allocations: 4 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000569/0.3423, allocations: 151.8 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.343, allocations: 363.6 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008784/0.3439, allocations: 166.6 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.3442, allocations: 90.53 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3442, allocations: 4 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3443, allocations: 30.56 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3443, allocations: 0 / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.001/0.3453, allocations: 285.4 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3453, allocations: 55.41 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3455, allocations: 149.8 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3455, allocations: 25.7 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.3456, allocations: 104.1 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.3456, allocations: 35.72 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/0.3457, allocations: 29.7 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3459, allocations: 322.8 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.3462, allocations: 79.92 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.3465, allocations: 80.23 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.3471, allocations: 156.7 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3471, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006529/0.3477, allocations: 209.3 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3477, allocations: 4 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3477, allocations: 4 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3478, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.348, allocations: 43.94 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.348, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.3482, allocations: 23.91 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.3482, allocations: 4 kB / 1.288 GB, free: 6.754 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.0001412/0.3484, allocations: 121.8 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.3484, allocations: 19.84 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.3485, allocations: 20.64 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3485, allocations: 4 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3485, allocations: 4 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3485, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.3488, allocations: 180.7 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3488, allocations: 3.938 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.349, allocations: 39.95 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.349, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.349, allocations: 3.938 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.998e-06/0.3491, allocations: 8 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3491, allocations: 3.984 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.3498, allocations: 299.5 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.3498, allocations: 19.77 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.3499, allocations: 4 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.3501, allocations: 19.97 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3502, allocations: 35.95 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3502, allocations: 4 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001261/0.3503, allocations: 111.2 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3503, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002768/0.3506, allocations: 24 kB / 1.289 GB, free: 5.773 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.001161/0.3518, allocations: 0.841 MB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006328/0.3524, allocations: 163.8 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3524, allocations: 8 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.3527, allocations: 91.86 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.353, allocations: 17.7 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.3562, allocations: 1.843 MB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3564, allocations: 105 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000117/0.3565, allocations: 16.44 kB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3566, allocations: 47.34 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/0.3566, allocations: 0 / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03987/0.3965, allocations: 4.556 MB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.83, allocations: 5.562 kB / 1.296 GB, free: 14.12 MB / 0.9981 GB " [Timeout remaining time 288] (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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable add1.u[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[3] in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[3] from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.714808313641697]