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.001938/0.001938, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002333/0.002333, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.785 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.346/3.346, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.002141/0.002141, allocations: 71.69 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3944, allocations: 181.8 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002838/0.3972, allocations: 0.8651 MB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3988, allocations: 0.8939 MB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.3989, allocations: 7.938 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.399, allocations: 15.8 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.3992, allocations: 31.8 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.3993, allocations: 35.95 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.3996, allocations: 139.6 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.3998, allocations: 33.8 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3999, allocations: 59.72 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.4001, allocations: 79.72 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.4001, allocations: 12 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.045e-05/0.4001, allocations: 16 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.4002, allocations: 43.84 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.4003, allocations: 59.66 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.4006, allocations: 175.2 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4006, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4006, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.4006, allocations: 0 / 1.366 GB, free: 11.54 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.001198/0.4018, allocations: 445.4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.4019, allocations: 8.031 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.4019, allocations: 42.69 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.402, allocations: 16.84 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.4023, allocations: 166.2 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4024, allocations: 4.375 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.4024, allocations: 8.375 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006083/0.403, allocations: 187.5 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.403, allocations: 7.875 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.403, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.403, allocations: 4 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008302/0.4039, allocations: 223.7 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.405, allocations: 467.5 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/0.4055, allocations: 142.4 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.4058, allocations: 112.8 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.4059, allocations: 0 / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.4059, allocations: 30.75 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.4059, allocations: 4 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001259/0.4072, allocations: 357.4 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.4072, allocations: 59.28 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.4074, allocations: 194.9 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4075, allocations: 25.7 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.4076, allocations: 120 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.4076, allocations: 35.72 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.4077, allocations: 21.72 kB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.4078, allocations: 326.8 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.4082, allocations: 103.9 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.4086, allocations: 103.9 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.4093, allocations: 217.1 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4093, allocations: 4 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000823/0.4101, allocations: 257.3 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4102, allocations: 4 kB / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4102, allocations: 0 / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4102, allocations: 4 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.4105, allocations: 51.88 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4105, allocations: 11.88 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.4107, allocations: 31.89 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4107, allocations: 4 kB / 1.369 GB, free: 7.621 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.0001248/0.4108, allocations: 125.8 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.4109, allocations: 15.91 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.4109, allocations: 25.39 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4109, allocations: 0 / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.4109, allocations: 3.938 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4109, allocations: 8 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.4113, allocations: 200.6 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4113, allocations: 0 / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4115, allocations: 39.95 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4115, allocations: 3.938 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4115, allocations: 4 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.4115, allocations: 0 / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4115, allocations: 3.938 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/0.4124, allocations: 359.2 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.4124, allocations: 11.91 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.4124, allocations: 4 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.4127, allocations: 35.95 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.4127, allocations: 19.91 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.4128, allocations: 0 / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001153/0.4129, allocations: 136.3 kB / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4129, allocations: 0 / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002471/0.4131, allocations: 27.94 kB / 1.37 GB, free: 6.543 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.001204/0.4143, allocations: 0.8919 MB / 1.371 GB, free: 5.625 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000823/0.4151, allocations: 223.7 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4151, allocations: 0 / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.4155, allocations: 115.8 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.4159, allocations: 27.92 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.4196, allocations: 2.139 MB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.4198, allocations: 118.1 kB / 1.374 GB, free: 2.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.4199, allocations: 20.42 kB / 1.374 GB, free: 2.891 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.42, allocations: 39.42 kB / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of SimCode: time 9.32e-07/0.42, allocations: 0 / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.4529, allocations: 4.354 MB / 1.378 GB, free: 14.65 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.03, allocations: 9.031 kB / 1.378 GB, free: 14.65 MB / 1.076 GB " [Timeout remaining time 288] (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: 19.156542602926493]