Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001298/0.001298, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001409/0.001409, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.839/2.839, allocations: 476.7 MB / 0.7714 GB, free: 4.316 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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="cs",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.002722/0.002722, allocations: 67.72 kB / 1.118 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3889, allocations: 169.9 MB / 1.284 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002428/0.3913, allocations: 0.9002 MB / 1.285 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3926, allocations: 0.8977 MB / 1.286 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.3927, allocations: 4 kB / 1.286 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.3928, allocations: 15.8 kB / 1.286 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.393, allocations: 35.78 kB / 1.286 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.3931, allocations: 35.95 kB / 1.286 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.3934, allocations: 139.5 kB / 1.286 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.3936, allocations: 41.5 kB / 1.286 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.3937, allocations: 55.78 kB / 1.286 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.3938, allocations: 87.72 kB / 1.286 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.3939, allocations: 12 kB / 1.286 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.235e-05/0.3939, allocations: 16 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.394, allocations: 43.84 kB / 1.286 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.3941, allocations: 63.59 kB / 1.286 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.3944, allocations: 179.4 kB / 1.287 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3944, allocations: 3.938 kB / 1.287 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.216e-06/0.3944, allocations: 4 kB / 1.287 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3944, allocations: 0 / 1.287 GB, free: 1.234 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00108/0.3955, allocations: 437.4 kB / 1.287 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.3955, allocations: 12.03 kB / 1.287 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.144e-05/0.3955, allocations: 192 / 1.287 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.799e-05/0.3956, allocations: 42.73 kB / 1.287 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3957, allocations: 16.84 kB / 1.287 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.3959, allocations: 158.2 kB / 1.287 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3959, allocations: 12.31 kB / 1.287 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.3959, allocations: 8.375 kB / 1.287 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.3965, allocations: 187.7 kB / 1.287 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3965, allocations: 0 / 1.287 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.3966, allocations: 7.984 kB / 1.287 GB, free: 308 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3966, allocations: 0 / 1.287 GB, free: 308 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007948/0.3974, allocations: 223.8 kB / 1.288 GB, free: 84 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3984, allocations: 487.4 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.3989, allocations: 150.6 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.3993, allocations: 124.6 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.3993, allocations: 4 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3993, allocations: 30.56 kB / 1.288 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.3993, allocations: 0 / 1.288 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001308/0.4006, allocations: 365.4 kB / 1.289 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4007, allocations: 59.34 kB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.4009, allocations: 176.8 kB / 1.289 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4009, allocations: 33.7 kB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.401, allocations: 120.1 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.4011, allocations: 27.7 kB / 1.289 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.4011, allocations: 25.7 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.4014, allocations: 326.8 kB / 1.29 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.4018, allocations: 103.9 kB / 1.29 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.4021, allocations: 103.9 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.4029, allocations: 212.6 kB / 1.29 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4029, allocations: 0 / 1.29 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008169/0.4037, allocations: 257.9 kB / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4037, allocations: 8 kB / 1.29 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4037, allocations: 96 / 1.29 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4037, allocations: 3.938 kB / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.404, allocations: 47.89 kB / 1.29 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.404, allocations: 3.984 kB / 1.29 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.4042, allocations: 43.84 kB / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4042, allocations: 0 / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000238/0.4045, allocations: 129.8 kB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.4045, allocations: 11.91 kB / 1.29 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.4046, allocations: 21.41 kB / 1.29 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4046, allocations: 11.94 kB / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4046, allocations: 0 / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4046, allocations: 7.922 kB / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.4049, allocations: 216.6 kB / 1.291 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4049, allocations: 4 kB / 1.291 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.4051, allocations: 39.95 kB / 1.291 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.4051, allocations: 3.984 kB / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.4052, allocations: 3.938 kB / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.4052, allocations: 11.94 kB / 1.291 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4052, allocations: 0 / 1.291 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.406, allocations: 355.2 kB / 1.291 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.406, allocations: 11.91 kB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.4061, allocations: 4 kB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.4063, allocations: 35.89 kB / 1.291 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.4064, allocations: 15.97 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4064, allocations: 4 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001152/0.4065, allocations: 140.3 kB / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4065, allocations: 0 / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002469/0.4067, allocations: 27.94 kB / 1.291 GB, free: 12.19 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001246/0.408, allocations: 0.8841 MB / 1.292 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008096/0.4088, allocations: 219.7 kB / 1.292 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4088, allocations: 0 / 1.292 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.4093, allocations: 123.8 kB / 1.292 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.4096, allocations: 27.91 kB / 1.293 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.4134, allocations: 2.144 MB / 1.295 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.4139, allocations: 0.7236 MB / 1.295 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.414, allocations: 24.41 kB / 1.295 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.4142, allocations: 43.42 kB / 1.295 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/0.4142, allocations: 0 / 1.295 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.4399, allocations: 3.824 MB / 1.299 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.9, allocations: 6.453 kB / 1.299 GB, free: 4.211 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.743185278959572]