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.001345/0.001345, 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.001652/0.001652, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.469/1.469, 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 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.175/3.175, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002091/0.002091, allocations: 67 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 176.1 MB / 1.325 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002334/0.3971, allocations: 0.8176 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3985, allocations: 0.9133 MB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.531e-05/0.3986, allocations: 4 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.3987, allocations: 11.86 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.3989, allocations: 23.8 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.3991, allocations: 51.94 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3993, allocations: 135.7 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3995, allocations: 25.3 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3996, allocations: 59.81 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.3998, allocations: 79.66 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.3999, allocations: 15.94 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.077e-05/0.3999, allocations: 16 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.4, allocations: 31.91 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.4, allocations: 47.72 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.4003, allocations: 147.7 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4003, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4003, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.4003, allocations: 0 / 1.327 GB, free: 15.95 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.0009666/0.4013, allocations: 373.7 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4013, allocations: 15.97 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.4014, allocations: 38.75 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.4014, allocations: 12.84 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.4017, allocations: 155.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.4017, allocations: 11.89 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.4017, allocations: 8 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.4022, allocations: 143.5 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4022, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.4022, allocations: 4 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4022, allocations: 8 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.4028, allocations: 151.8 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007137/0.4035, allocations: 371.6 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008857/0.4044, allocations: 170.5 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.4047, allocations: 80.91 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.4047, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.4047, allocations: 34.56 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.4047, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.001013/0.4058, allocations: 285.5 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4058, allocations: 51.41 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.406, allocations: 152.9 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.406, allocations: 30.02 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.4061, allocations: 116 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.4061, allocations: 23.81 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.4062, allocations: 33.7 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4063, allocations: 322.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.4066, allocations: 71.92 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.4069, allocations: 75.92 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.4074, allocations: 156.7 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4074, allocations: 0 / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006391/0.4081, allocations: 213.3 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4081, allocations: 8 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4081, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4081, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.4084, allocations: 39.89 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.4084, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.4086, allocations: 23.91 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.4086, allocations: 8 kB / 1.33 GB, free: 12.62 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.0001338/0.4087, allocations: 125.2 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.4088, allocations: 19.84 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.4088, allocations: 12.72 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4088, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4088, allocations: 3.984 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4088, allocations: 3.984 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.4091, allocations: 180.7 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4091, allocations: 3.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.4093, allocations: 48.22 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4093, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4094, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4094, allocations: 7.875 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4094, allocations: 4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.4101, allocations: 299.3 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.4101, allocations: 19.77 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.4101, allocations: 8 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.4103, allocations: 19.97 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.4104, allocations: 31.95 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.4104, allocations: 4 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.932e-05/0.4105, allocations: 113.3 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4105, allocations: 0 / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002597/0.4108, allocations: 24 kB / 1.331 GB, free: 11.64 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.001116/0.4119, allocations: 0.841 MB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006247/0.4125, allocations: 171.8 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4125, allocations: 0 / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.4129, allocations: 95.84 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.4132, allocations: 12.56 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.4162, allocations: 1.858 MB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.4164, allocations: 96.98 kB / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.4165, allocations: 24.42 kB / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.4166, allocations: 43.41 kB / 1.334 GB, free: 8.375 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4166, allocations: 0 / 1.334 GB, free: 8.375 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.4495, allocations: 4.553 MB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.93, allocations: 11.7 kB / 1.339 GB, free: 3.965 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.676809773780406]