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.002014/0.002014, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.002404/0.002404, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.548/1.548, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.249/3.249, allocations: 0.49 GB / 0.7916 GB, free: 33.21 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.002134/0.002134, allocations: 75 kB / 1.149 GB, free: 26.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.375, allocations: 176.1 MB / 1.321 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002175/0.3772, allocations: 0.8758 MB / 1.322 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3784, allocations: 0.9211 MB / 1.323 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.3785, allocations: 7.938 kB / 1.323 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.3786, allocations: 11.88 kB / 1.323 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.3787, allocations: 19.8 kB / 1.323 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.3789, allocations: 59.92 kB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.3791, allocations: 127.7 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.3792, allocations: 29.11 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.3793, allocations: 63.81 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.3795, allocations: 79.66 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.3795, allocations: 16 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.3795, allocations: 12 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.3796, allocations: 27.91 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.72e-05/0.3797, allocations: 63.7 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3799, allocations: 147.6 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3799, allocations: 0 / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3799, allocations: 3.938 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3799, allocations: 0 / 1.323 GB, free: 0.9961 MB / 1.014 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.0009146/0.3808, allocations: 446.8 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3808, allocations: 11.98 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.3809, allocations: 46.73 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.3809, allocations: 12.84 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.3812, allocations: 202.8 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3812, allocations: 15.89 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3812, allocations: 8 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.3817, allocations: 145.5 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3817, allocations: 4 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3817, allocations: 7.938 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3817, allocations: 0 / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.3823, allocations: 159.8 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.383, allocations: 416.5 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/0.3839, allocations: 170.5 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.3842, allocations: 84.91 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3842, allocations: 4 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3843, allocations: 30.56 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3843, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.001018/0.3853, allocations: 285.5 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3853, allocations: 51.41 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3855, allocations: 149.2 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3855, allocations: 25.7 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.3856, allocations: 108 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.3856, allocations: 31.73 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.3857, allocations: 33.64 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3858, allocations: 322.8 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.3861, allocations: 79.86 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.3864, allocations: 75.92 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/0.387, allocations: 153.3 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.387, allocations: 3.938 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006552/0.3876, allocations: 209.4 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3877, allocations: 4 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.3877, allocations: 7.984 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3877, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.388, allocations: 39.95 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.388, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.3882, allocations: 23.91 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.3882, allocations: 8 kB / 1.326 GB, free: 13.45 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.0001324/0.3883, allocations: 129.8 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.3883, allocations: 15.84 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.3884, allocations: 16.72 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3884, allocations: 0 / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3884, allocations: 0 / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3884, allocations: 0 / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.3887, allocations: 233.5 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3887, allocations: 3.938 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.3889, allocations: 43.95 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.389, allocations: 0 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.389, allocations: 4 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.389, allocations: 3.984 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.389, allocations: 0 / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.3897, allocations: 299.2 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.3898, allocations: 92.98 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3898, allocations: 4 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.39, allocations: 15.97 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3901, allocations: 35.97 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3901, allocations: 4 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.642e-05/0.3902, allocations: 115.4 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3902, allocations: 0 / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002541/0.3904, allocations: 31.88 kB / 1.327 GB, free: 12.33 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.001084/0.3915, allocations: 0.8527 MB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006521/0.3922, allocations: 167.8 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3922, allocations: 0 / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.3925, allocations: 95.91 kB / 1.329 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3928, allocations: 9.203 kB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.3959, allocations: 1.846 MB / 1.33 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.3962, allocations: 0.712 MB / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.3963, allocations: 24.36 kB / 1.331 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3964, allocations: 43.41 kB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3964, allocations: 0 / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.4266, allocations: 3.83 MB / 1.335 GB, free: 4.727 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.555, allocations: 7.188 kB / 1.335 GB, free: 4.723 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.528635289985687]