Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001302/0.001302, allocations: 111 kB / 16.46 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.001398/0.001398, 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.499/1.499, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.244/3.244, allocations: 0.505 GB / 0.8066 GB, free: 23.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_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.002691/0.002691, allocations: 65.73 kB / 1.172 GB, free: 17.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3748, allocations: 180.2 MB / 1.348 GB, free: 10.06 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002189/0.377, allocations: 0.8517 MB / 1.349 GB, free: 9.215 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3782, allocations: 0.9327 MB / 1.35 GB, free: 8.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.3783, allocations: 4 kB / 1.35 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.3784, allocations: 7.875 kB / 1.35 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.3785, allocations: 15.8 kB / 1.35 GB, free: 8.242 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.3787, allocations: 59.92 kB / 1.35 GB, free: 8.184 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.3789, allocations: 131.7 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.379, allocations: 33.11 kB / 1.35 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.3791, allocations: 59.83 kB / 1.35 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3793, allocations: 75.72 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.3793, allocations: 16 kB / 1.35 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.46e-05/0.3793, allocations: 12 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.3794, allocations: 35.83 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.3794, allocations: 59.66 kB / 1.35 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.3796, allocations: 143.7 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3797, allocations: 0 / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3797, allocations: 0 / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3797, allocations: 4 kB / 1.35 GB, free: 7.621 MB / 1.045 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.0008417/0.3805, allocations: 446.8 kB / 1.351 GB, free: 7.137 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3805, allocations: 15.92 kB / 1.351 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.3806, allocations: 42.73 kB / 1.351 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.3806, allocations: 12.84 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3809, allocations: 204.7 kB / 1.351 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3809, allocations: 11.94 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3809, allocations: 12 kB / 1.351 GB, free: 6.797 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.3813, allocations: 153.5 kB / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3814, allocations: 0 / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3814, allocations: 0 / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3814, allocations: 0 / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.382, allocations: 163.8 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007118/0.3827, allocations: 416.4 kB / 1.352 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008897/0.3836, allocations: 170.5 kB / 1.352 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.3839, allocations: 80.91 kB / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3839, allocations: 7.984 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3839, allocations: 30.56 kB / 1.352 GB, free: 5.719 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 2.925e-06/0.3839, allocations: 7.984 kB / 1.352 GB, free: 5.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.001025/0.385, allocations: 281.5 kB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.385, allocations: 51.41 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3852, allocations: 165.3 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3852, allocations: 25.7 kB / 1.352 GB, free: 5.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.3853, allocations: 100.1 kB / 1.352 GB, free: 5.059 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.3853, allocations: 31.73 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.3854, allocations: 25.7 kB / 1.352 GB, free: 4.996 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3855, allocations: 326.8 kB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.3858, allocations: 75.92 kB / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.3861, allocations: 75.92 kB / 1.353 GB, free: 4.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.3867, allocations: 161.2 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3867, allocations: 0 / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006477/0.3873, allocations: 205.3 kB / 1.353 GB, free: 4.152 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3873, allocations: 4 kB / 1.353 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3873, allocations: 4 kB / 1.353 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3874, allocations: 0 / 1.353 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3876, allocations: 47.89 kB / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3876, allocations: 0 / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.3878, allocations: 27.86 kB / 1.353 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3878, allocations: 0 / 1.353 GB, free: 4.07 MB / 1.045 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.0001212/0.3879, allocations: 125.8 kB / 1.354 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.388, allocations: 11.89 kB / 1.354 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.388, allocations: 20.72 kB / 1.354 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.388, allocations: 0 / 1.354 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.388, allocations: 4 kB / 1.354 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.388, allocations: 3.984 kB / 1.354 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.3883, allocations: 229.6 kB / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3883, allocations: 3.938 kB / 1.354 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.3886, allocations: 39.95 kB / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3886, allocations: 0 / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3886, allocations: 7.984 kB / 1.354 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3886, allocations: 7.938 kB / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3886, allocations: 0 / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.3893, allocations: 303.2 kB / 1.354 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.3894, allocations: 89 kB / 1.354 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3894, allocations: 4 kB / 1.354 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3896, allocations: 15.97 kB / 1.354 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.3897, allocations: 36.16 kB / 1.354 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3897, allocations: 7.984 kB / 1.354 GB, free: 3.082 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.392e-05/0.3898, allocations: 109.6 kB / 1.354 GB, free: 2.977 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3898, allocations: 0 / 1.354 GB, free: 2.977 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002603/0.39, allocations: 31.89 kB / 1.354 GB, free: 2.945 MB / 1.045 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.001059/0.3911, allocations: 0.8518 MB / 1.355 GB, free: 2.07 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000676/0.3918, allocations: 163.8 kB / 1.355 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3918, allocations: 0 / 1.355 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.3921, allocations: 103.8 kB / 1.355 GB, free: 1.809 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.3924, allocations: 15.92 kB / 1.355 GB, free: 1.793 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.3954, allocations: 1.853 MB / 1.357 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3958, allocations: 0.704 MB / 1.358 GB, free: 15.13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.3959, allocations: 28.42 kB / 1.358 GB, free: 15.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.396, allocations: 43.41 kB / 1.358 GB, free: 15.06 MB / 1.061 GB Notification: Performance of SimCode: time 8.02e-07/0.396, allocations: 0 / 1.358 GB, free: 15.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.4241, allocations: 3.819 MB / 1.362 GB, free: 11.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.706, allocations: 0 / 1.362 GB, free: 11.35 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[3] in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[3] from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.658732918091118]