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.001386/0.001386, allocations: 106.3 kB / 16.45 MB, free: 6.453 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.001542/0.001542, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.819/2.819, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 177] 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.002113/0.002113, allocations: 71.89 kB / 1.112 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8907/0.8928, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002452/0.8953, allocations: 0.8693 MB / 1.279 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.8967, allocations: 0.9211 MB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.8968, allocations: 7.938 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.8969, allocations: 11.86 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.8971, allocations: 19.8 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.8973, allocations: 59.91 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.8975, allocations: 123.7 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.8977, allocations: 37.09 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.8978, allocations: 55.83 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.8979, allocations: 79.72 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.898, allocations: 19.94 kB / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.898, allocations: 12 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.8981, allocations: 27.91 kB / 1.28 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.8982, allocations: 59.7 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.8984, allocations: 145.2 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8984, allocations: 0 / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8984, allocations: 0 / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.8984, allocations: 0 / 1.281 GB, free: 10.95 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.001029/0.8994, allocations: 454.8 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.8995, allocations: 12.03 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.155e-05/0.8996, allocations: 42.73 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.8996, allocations: 12.89 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.8999, allocations: 208.6 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.8999, allocations: 15.88 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.8999, allocations: 8 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.9005, allocations: 155.6 kB / 1.282 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.9005, allocations: 0 / 1.282 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.9005, allocations: 4 kB / 1.282 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.9005, allocations: 4 kB / 1.282 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.9011, allocations: 147.8 kB / 1.282 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000768/0.9019, allocations: 420.4 kB / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/0.9028, allocations: 170.5 kB / 1.282 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.9031, allocations: 88.89 kB / 1.282 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.9031, allocations: 3.984 kB / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.9032, allocations: 30.56 kB / 1.282 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.9032, allocations: 0 / 1.282 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.001048/0.9042, allocations: 281.5 kB / 1.283 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.9043, allocations: 55.41 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.9044, allocations: 149.2 kB / 1.283 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.9045, allocations: 25.7 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.9046, allocations: 112.1 kB / 1.283 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.9046, allocations: 31.73 kB / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.9047, allocations: 29.7 kB / 1.283 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9048, allocations: 322.8 kB / 1.283 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.9051, allocations: 71.86 kB / 1.283 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.9054, allocations: 83.86 kB / 1.283 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.906, allocations: 157.2 kB / 1.284 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.906, allocations: 0 / 1.284 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006662/0.9066, allocations: 209.3 kB / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.9067, allocations: 8 kB / 1.284 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9067, allocations: 0 / 1.284 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.9067, allocations: 7.984 kB / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.907, allocations: 35.95 kB / 1.284 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.907, allocations: 0 / 1.284 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.9072, allocations: 23.97 kB / 1.284 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.9072, allocations: 7.938 kB / 1.284 GB, free: 7.395 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.0001239/0.9073, allocations: 117.8 kB / 1.284 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.9074, allocations: 23.83 kB / 1.284 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.9074, allocations: 12.72 kB / 1.284 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.9074, allocations: 4 kB / 1.284 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.9074, allocations: 0 / 1.284 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.9074, allocations: 4 kB / 1.284 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.9077, allocations: 241.5 kB / 1.284 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9077, allocations: 3.938 kB / 1.284 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.908, allocations: 35.95 kB / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.908, allocations: 0 / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.908, allocations: 0 / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.908, allocations: 0 / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.908, allocations: 0 / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/0.9087, allocations: 305 kB / 1.285 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.9088, allocations: 92.95 kB / 1.285 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.9088, allocations: 4.172 kB / 1.285 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.909, allocations: 19.98 kB / 1.285 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.9091, allocations: 43.83 kB / 1.285 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.9091, allocations: 4 kB / 1.285 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.732e-05/0.9092, allocations: 113.9 kB / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9092, allocations: 0 / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002612/0.9095, allocations: 20 kB / 1.285 GB, free: 6.27 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.001137/0.9106, allocations: 0.8416 MB / 1.286 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006793/0.9113, allocations: 175.8 kB / 1.286 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9113, allocations: 0 / 1.286 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.9116, allocations: 95.84 kB / 1.286 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.9119, allocations: 14.34 kB / 1.286 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.9151, allocations: 1.866 MB / 1.288 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.9154, allocations: 0.7046 MB / 1.288 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.9155, allocations: 20.42 kB / 1.289 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.9156, allocations: 51.41 kB / 1.289 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.9156, allocations: 0 / 1.289 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.9458, allocations: 3.814 MB / 1.292 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/9.081, allocations: 22.94 kB / 1.292 GB, free: 14.65 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.37241567694582]