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.001746/0.001746, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.002212/0.002212, allocations: 219.1 kB / 23.03 MB, free: 4.902 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.881/2.881, allocations: 476.8 MB / 0.7715 GB, free: 3.883 MB / 0.6231 GB " [Timeout remaining time 176] 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.002127/0.002127, allocations: 64.02 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3792, allocations: 170 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.00268/0.3819, allocations: 0.8401 MB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.3832, allocations: 0.9055 MB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.3833, allocations: 4 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.3835, allocations: 15.81 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.3836, allocations: 23.73 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.3837, allocations: 43.94 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.384, allocations: 139.6 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3841, allocations: 37.05 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.3842, allocations: 59.83 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3844, allocations: 91.66 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.3844, allocations: 12 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.86e-05/0.3844, allocations: 16 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.3845, allocations: 39.84 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.607e-05/0.3846, allocations: 55.72 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3848, allocations: 176.6 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3849, allocations: 3.984 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3849, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3849, allocations: 0 / 1.287 GB, free: 8.129 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.001055/0.3859, allocations: 441.4 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.386, allocations: 8.031 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.914e-05/0.386, allocations: 4.188 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.386, allocations: 42.73 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.3861, allocations: 24.84 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3864, allocations: 162.2 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3864, allocations: 8.312 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3864, allocations: 12.38 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.387, allocations: 185.7 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.387, allocations: 0 / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.387, allocations: 4 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.387, allocations: 4 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.3877, allocations: 215.8 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3888, allocations: 467.5 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.3892, allocations: 150.4 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.3896, allocations: 108.7 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3896, allocations: 4 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3896, allocations: 30.56 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3896, allocations: 4 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001174/0.3908, allocations: 361.6 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3908, allocations: 59.34 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.391, allocations: 176.8 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.391, allocations: 29.7 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.3911, allocations: 116.1 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.3912, allocations: 35.69 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.3912, allocations: 21.72 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3914, allocations: 334.8 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.3918, allocations: 103.8 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.3921, allocations: 99.89 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/0.3928, allocations: 221.1 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3928, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007379/0.3935, allocations: 257.4 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3935, allocations: 4 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3935, allocations: 4 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3936, allocations: 0 / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.3938, allocations: 47.89 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3938, allocations: 0 / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.394, allocations: 43.83 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.3941, allocations: 0 / 1.29 GB, free: 4.223 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: 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.0001267/0.3942, allocations: 137.8 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.3942, allocations: 11.91 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.3943, allocations: 29.34 kB / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3943, allocations: 3.938 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3943, allocations: 0 / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3943, allocations: 0 / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3946, allocations: 196.7 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3946, allocations: 0 / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.3948, allocations: 43.94 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3948, allocations: 4 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.3948, allocations: 8 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3948, allocations: 3.938 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3948, allocations: 4 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008213/0.3956, allocations: 355.2 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.3957, allocations: 19.89 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3957, allocations: 0 / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.3959, allocations: 43.88 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.396, allocations: 12.17 kB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.396, allocations: 0 / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001255/0.3961, allocations: 144.2 kB / 1.291 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3961, allocations: 7.938 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002521/0.3964, allocations: 23.94 kB / 1.291 GB, free: 3.121 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: 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.001148/0.3975, allocations: 0.8801 MB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007669/0.3983, allocations: 227.7 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3983, allocations: 0 / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.3987, allocations: 111.9 kB / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.399, allocations: 25.98 kB / 1.292 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.4026, allocations: 2.152 MB / 1.294 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.4027, allocations: 110.1 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.4028, allocations: 28.41 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/0.4029, allocations: 39.42 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/0.4029, allocations: 0 / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.4295, allocations: 3.963 MB / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.08, allocations: 10.56 kB / 1.299 GB, free: 11.65 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: 19.195094569935463]