Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00175/0.00175, 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.00188/0.00188, 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.528/1.528, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.077/3.077, allocations: 0.5003 GB / 0.8026 GB, free: 6.758 MB / 0.6387 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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_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.002065/0.002065, allocations: 71.91 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 179 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002071/1.061, allocations: 0.8909 MB / 1.341 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001182/1.062, allocations: 0.9027 MB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/1.062, allocations: 6.688 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/1.063, allocations: 21 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/1.063, allocations: 23.38 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/1.063, allocations: 42.38 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/1.063, allocations: 138.8 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/1.063, allocations: 45.09 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/1.063, allocations: 63.22 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/1.063, allocations: 85.02 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/1.064, allocations: 10 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.685e-05/1.064, allocations: 13.12 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.702e-05/1.064, allocations: 45.09 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.925e-05/1.064, allocations: 63.98 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/1.064, allocations: 172.3 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.064, allocations: 1.312 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.064, allocations: 4 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.692e-06/1.064, allocations: 0 / 1.343 GB, free: 14.66 MB / 1.061 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.0009742/1.065, allocations: 0.5108 MB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.065, allocations: 9.25 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.194e-05/1.065, allocations: 3 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/1.065, allocations: 39.86 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/1.065, allocations: 20.77 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/1.065, allocations: 222.3 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/1.065, allocations: 7.875 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/1.065, allocations: 5.188 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/1.066, allocations: 189.7 kB / 1.344 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.066, allocations: 3.938 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/1.066, allocations: 1.875 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/1.066, allocations: 1.875 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000843/1.067, allocations: 224.2 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/1.068, allocations: 0.5107 MB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/1.068, allocations: 146.3 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/1.069, allocations: 114 kB / 1.345 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/1.069, allocations: 1.562 kB / 1.345 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/1.069, allocations: 36.44 kB / 1.345 GB, free: 13.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/1.069, allocations: 7.938 kB / 1.345 GB, free: 13.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001369/1.07, allocations: 363.2 kB / 1.345 GB, free: 13.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/1.07, allocations: 57.28 kB / 1.345 GB, free: 13.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/1.07, allocations: 177.6 kB / 1.345 GB, free: 13.06 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/1.07, allocations: 27.55 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/1.07, allocations: 124.1 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/1.071, allocations: 29.42 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/1.071, allocations: 29.56 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/1.071, allocations: 324.3 kB / 1.346 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/1.071, allocations: 100.5 kB / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/1.071, allocations: 105.1 kB / 1.346 GB, free: 12.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008033/1.072, allocations: 222.7 kB / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.072, allocations: 0 / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008982/1.073, allocations: 262.8 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.073, allocations: 5.094 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.073, allocations: 0 / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/1.073, allocations: 2.156 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/1.074, allocations: 45.88 kB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/1.074, allocations: 1.688 kB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/1.074, allocations: 37.25 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/1.074, allocations: 6.75 kB / 1.346 GB, free: 12.36 MB / 1.061 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.0001069/1.074, allocations: 127.3 kB / 1.347 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/1.074, allocations: 19.05 kB / 1.347 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.818e-05/1.074, allocations: 20.14 kB / 1.347 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.074, allocations: 8.438 kB / 1.347 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.074, allocations: 1.562 kB / 1.347 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.074, allocations: 0.6562 kB / 1.347 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/1.074, allocations: 250 kB / 1.347 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.074, allocations: 4.609 kB / 1.347 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/1.075, allocations: 49.84 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.075, allocations: 1.344 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/1.075, allocations: 0.6094 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.075, allocations: 5.312 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.075, allocations: 0 / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/1.076, allocations: 354.8 kB / 1.347 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/1.076, allocations: 94.19 kB / 1.347 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/1.076, allocations: 4.797 kB / 1.347 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/1.076, allocations: 34.31 kB / 1.347 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/1.076, allocations: 12.88 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.076, allocations: 6.531 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001167/1.076, allocations: 133.7 kB / 1.348 GB, free: 11.58 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.076, allocations: 0 / 1.348 GB, free: 11.58 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002659/1.076, allocations: 30.98 kB / 1.348 GB, free: 11.57 MB / 1.061 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.001163/1.077, allocations: 0.8915 MB / 1.348 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008994/1.078, allocations: 225.2 kB / 1.349 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.078, allocations: 0 / 1.349 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000434/1.079, allocations: 112.9 kB / 1.349 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/1.079, allocations: 34.59 kB / 1.349 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/1.083, allocations: 2.136 MB / 1.351 GB, free: 9.332 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/1.083, allocations: 0.724 MB / 1.352 GB, free: 8.633 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001021/1.083, allocations: 25.89 kB / 1.352 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/1.083, allocations: 40.81 kB / 1.352 GB, free: 8.598 MB / 1.061 GB Notification: Performance of SimCode: time 1.112e-06/1.083, allocations: 0 / 1.352 GB, free: 8.598 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/1.106, allocations: 3.709 MB / 1.355 GB, free: 8.066 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.639/9.745, allocations: 14.44 kB / 1.355 GB, free: 8.059 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.639512196998112]