Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00178/0.00178, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002271/0.002271, allocations: 221.9 kB / 22.25 MB, free: 5.102 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.659/1.659, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.163/3.163, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_12_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.002064/0.002064, allocations: 60.09 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4034, allocations: 176.1 MB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002237/0.4056, allocations: 0.8294 MB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.4069, allocations: 0.9172 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.407, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.4071, allocations: 19.81 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.4072, allocations: 15.86 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.4074, allocations: 63.86 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.4076, allocations: 123.7 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.4078, allocations: 33.23 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.4079, allocations: 59.77 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.4081, allocations: 83.72 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.4081, allocations: 12 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.4081, allocations: 12 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.4082, allocations: 35.91 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.4083, allocations: 51.7 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.4085, allocations: 143.7 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4085, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4085, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4085, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 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.0008529/0.4094, allocations: 377.6 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4094, allocations: 8.031 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.4095, allocations: 46.73 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.4095, allocations: 20.89 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.4097, allocations: 138.9 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.4097, allocations: 11.94 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.4098, allocations: 8 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.4102, allocations: 154.5 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4102, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.4102, allocations: 4 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4103, allocations: 4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.4108, allocations: 151.8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.4116, allocations: 367.6 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.4124, allocations: 166.5 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.4127, allocations: 88.83 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.4127, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.4128, allocations: 34.55 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.4128, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0009874/0.4137, allocations: 281.5 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4138, allocations: 55.41 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.414, allocations: 148.7 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.414, allocations: 25.7 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4141, allocations: 119.9 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.4142, allocations: 23.86 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.4142, allocations: 29.69 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4144, allocations: 318.8 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.4147, allocations: 71.92 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.4149, allocations: 75.92 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005327/0.4155, allocations: 160.6 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4155, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006253/0.4161, allocations: 217.9 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4161, allocations: 4.094 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4161, allocations: 3.938 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4161, allocations: 0 / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.4164, allocations: 39.95 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4164, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.4166, allocations: 23.91 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.4166, allocations: 7.984 kB / 1.331 GB, free: 11.7 MB / 1.029 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.0001364/0.4167, allocations: 126.4 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.4168, allocations: 15.84 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.4168, allocations: 16.7 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4168, allocations: 4 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4168, allocations: 0 / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4168, allocations: 0 / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.4171, allocations: 188.6 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4171, allocations: 3.938 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.4173, allocations: 39.95 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4173, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.4173, allocations: 8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4173, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4173, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.4181, allocations: 299.2 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.4181, allocations: 23.83 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.4182, allocations: 3.984 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4183, allocations: 15.97 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.4185, allocations: 31.97 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.4185, allocations: 11.92 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.735e-05/0.4186, allocations: 112.9 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4186, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002514/0.4188, allocations: 24 kB / 1.332 GB, free: 10.72 MB / 1.029 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.001093/0.4199, allocations: 0.8411 MB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006096/0.4205, allocations: 167.8 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4205, allocations: 0 / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.4208, allocations: 99.84 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.4212, allocations: 17.7 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.4242, allocations: 1.845 MB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.4243, allocations: 93.05 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.4244, allocations: 20.42 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4245, allocations: 51.41 kB / 1.335 GB, free: 7.461 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4245, allocations: 4.562 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.4573, allocations: 4.589 MB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.67, allocations: 6.422 kB / 1.34 GB, free: 3.02 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[3] in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[3] from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.78999338799622]