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.001336/0.001336, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001452/0.001452, allocations: 212 kB / 20.13 MB, free: 2.949 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.892/2.892, allocations: 476.7 MB / 0.7678 GB, free: 9.418 MB / 0.6075 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.002143/0.002143, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214/1.216, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002533/1.219, allocations: 0.8933 MB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001464/1.22, allocations: 0.9029 MB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/1.22, allocations: 5.375 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/1.22, allocations: 17.28 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/1.22, allocations: 28.33 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/1.221, allocations: 41.7 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/1.221, allocations: 135.6 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/1.221, allocations: 41.12 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/1.221, allocations: 66.12 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/1.221, allocations: 82.75 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/1.221, allocations: 16.44 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/1.221, allocations: 12.75 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/1.221, allocations: 45.33 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.415e-05/1.221, allocations: 64.98 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/1.222, allocations: 171.6 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.222, allocations: 0 / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.434e-06/1.222, allocations: 5.031 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.343e-06/1.222, allocations: 0 / 1.281 GB, free: 10.14 MB / 0.9981 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.001189/1.223, allocations: 0.5096 MB / 1.282 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.223, allocations: 10.62 kB / 1.282 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.296e-05/1.223, allocations: 6.281 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/1.223, allocations: 40.38 kB / 1.282 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/1.223, allocations: 16.59 kB / 1.282 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/1.223, allocations: 220.7 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/1.223, allocations: 7.469 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/1.223, allocations: 6.609 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/1.224, allocations: 192.1 kB / 1.282 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.224, allocations: 0.5312 kB / 1.282 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/1.224, allocations: 4.5 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.224, allocations: 6.125 kB / 1.282 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009066/1.225, allocations: 217.3 kB / 1.283 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/1.226, allocations: 0.5108 MB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/1.227, allocations: 146.9 kB / 1.283 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/1.227, allocations: 117.6 kB / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/1.227, allocations: 0 / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/1.228, allocations: 36.58 kB / 1.283 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/1.228, allocations: 1.188 kB / 1.283 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001412/1.229, allocations: 362.8 kB / 1.284 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/1.229, allocations: 56.69 kB / 1.284 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/1.229, allocations: 179.3 kB / 1.284 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/1.229, allocations: 31.02 kB / 1.284 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/1.229, allocations: 120.7 kB / 1.284 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/1.229, allocations: 34.16 kB / 1.284 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/1.23, allocations: 21.64 kB / 1.284 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.23, allocations: 322.8 kB / 1.285 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/1.23, allocations: 105.2 kB / 1.285 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/1.231, allocations: 106.4 kB / 1.285 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008019/1.231, allocations: 217.4 kB / 1.285 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/1.231, allocations: 1.875 kB / 1.285 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009068/1.232, allocations: 252.5 kB / 1.285 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/1.232, allocations: 5.844 kB / 1.285 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.232, allocations: 0 / 1.285 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/1.232, allocations: 5.438 kB / 1.285 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/1.233, allocations: 49.97 kB / 1.285 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.233, allocations: 1.375 kB / 1.285 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/1.233, allocations: 38.92 kB / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/1.233, allocations: 2.625 kB / 1.285 GB, free: 7.852 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.0001477/1.233, allocations: 126.4 kB / 1.285 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/1.233, allocations: 18.66 kB / 1.285 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/1.233, allocations: 20.42 kB / 1.285 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.233, allocations: 5.438 kB / 1.285 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.233, allocations: 0.5156 kB / 1.285 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.233, allocations: 0.7031 kB / 1.285 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/1.234, allocations: 259.5 kB / 1.286 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.234, allocations: 0 / 1.286 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/1.234, allocations: 45.47 kB / 1.286 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.234, allocations: 1.797 kB / 1.286 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/1.234, allocations: 5.125 kB / 1.286 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/1.234, allocations: 3.938 kB / 1.286 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.234, allocations: 0.7969 kB / 1.286 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009586/1.235, allocations: 363.9 kB / 1.286 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/1.235, allocations: 92.23 kB / 1.286 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/1.235, allocations: 4.469 kB / 1.286 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/1.235, allocations: 33.19 kB / 1.286 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/1.235, allocations: 19.25 kB / 1.286 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/1.235, allocations: 6.906 kB / 1.286 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001171/1.235, allocations: 133.4 kB / 1.286 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.235, allocations: 0 / 1.286 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002656/1.236, allocations: 25.81 kB / 1.286 GB, free: 7.051 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.001374/1.237, allocations: 0.8868 MB / 1.287 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001026/1.238, allocations: 221 kB / 1.287 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.238, allocations: 1.031 kB / 1.287 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004954/1.238, allocations: 121.2 kB / 1.288 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/1.239, allocations: 22.88 kB / 1.288 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/1.243, allocations: 2.159 MB / 1.29 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/1.244, allocations: 0.7245 MB / 1.29 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001216/1.244, allocations: 20.88 kB / 1.29 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.244, allocations: 44.38 kB / 1.29 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/1.244, allocations: 0 / 1.29 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/1.268, allocations: 3.709 MB / 1.294 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/9.665, allocations: 12.72 kB / 1.294 GB, free: 3.531 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.25042505096644]