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.001889/0.001889, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.003274/0.003274, allocations: 219.7 kB / 22.26 MB, free: 5.121 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.992 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.302/3.302, allocations: 0.49 GB / 0.7951 GB, free: 33.34 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.002044/0.002044, allocations: 67.59 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3763, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002055/0.3783, allocations: 0.8645 MB / 1.327 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3795, allocations: 0.9327 MB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.3796, allocations: 0 / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3797, allocations: 7.875 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3798, allocations: 23.8 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.38, allocations: 59.92 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.3801, allocations: 127.7 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3803, allocations: 33.27 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.648e-05/0.3804, allocations: 55.84 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.3805, allocations: 87.66 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.3806, allocations: 12 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.3806, allocations: 12 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.3806, allocations: 27.91 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.3807, allocations: 59.7 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.3809, allocations: 147.6 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3809, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3809, allocations: 4 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.3809, allocations: 3.938 kB / 1.328 GB, free: 15.48 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.0008155/0.3817, allocations: 373.7 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3818, allocations: 8.031 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.3818, allocations: 38.75 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.3818, allocations: 16.88 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.382, allocations: 148 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3821, allocations: 15.88 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3821, allocations: 8 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.3825, allocations: 150.9 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3825, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3825, allocations: 4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3825, allocations: 4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.3831, allocations: 151.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.3837, allocations: 391.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.3846, allocations: 174.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.3849, allocations: 84.84 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3849, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3849, allocations: 34.56 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3849, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0009552/0.3859, allocations: 277.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3859, allocations: 63.39 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.386, allocations: 140.3 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.3861, allocations: 29.7 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.3861, allocations: 112 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.3862, allocations: 31.77 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.3862, allocations: 29.7 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3864, allocations: 322.8 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.3867, allocations: 79.92 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.3869, allocations: 71.92 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.3874, allocations: 161.2 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3874, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005925/0.388, allocations: 209.3 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.388, allocations: 8 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3881, allocations: 8 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3881, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.3883, allocations: 39.89 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3884, allocations: 3.984 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.3885, allocations: 27.91 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3885, allocations: 0 / 1.331 GB, free: 12.13 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.000124/0.3887, allocations: 130.4 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3887, allocations: 15.84 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.3887, allocations: 16.72 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3888, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3888, allocations: 4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3888, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.389, allocations: 196.6 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.389, allocations: 7.938 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.3893, allocations: 31.95 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3893, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3893, allocations: 8 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3893, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.3893, allocations: 3.938 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006464/0.3899, allocations: 299.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.39, allocations: 23.81 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.39, allocations: 192 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3902, allocations: 23.91 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3903, allocations: 39.89 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3903, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.873e-05/0.3904, allocations: 109.1 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3904, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002477/0.3906, allocations: 24 kB / 1.332 GB, free: 11.14 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.00101/0.3917, allocations: 0.8411 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006072/0.3923, allocations: 171.7 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3923, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.3926, allocations: 99.86 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.3929, allocations: 23.92 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.3958, allocations: 1.84 MB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.3961, allocations: 0.7119 MB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.89e-05/0.3962, allocations: 20.44 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.3963, allocations: 43.41 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3963, allocations: 0 / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.428, allocations: 3.985 MB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.17, allocations: 0.7031 kB / 1.34 GB, free: 3.422 MB / 1.029 GB " [Timeout remaining time 289] (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.239717894000933]