Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001344/0.001344, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001425/0.001425, allocations: 220 kB / 23 MB, free: 4.914 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.832 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.217/3.217, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [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.002103/0.002103, allocations: 69.81 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3914, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003471/0.3949, allocations: 1.601 MB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3962, allocations: 0.5582 MB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.3963, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.894e-05/0.3964, allocations: 11.86 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.3967, allocations: 39.77 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.3969, allocations: 43.89 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.3971, allocations: 115.6 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3972, allocations: 15.92 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.3975, allocations: 59.78 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.3976, allocations: 43.81 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.3976, allocations: 12 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.3977, allocations: 16 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.3977, allocations: 23.91 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.3978, allocations: 39.84 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.3981, allocations: 103.5 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3981, allocations: 0 / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3981, allocations: 3.938 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3981, allocations: 0 / 1.367 GB, free: 10.89 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008409/0.3989, allocations: 331.5 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.399, allocations: 8.031 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.3992, allocations: 16.89 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3993, allocations: 122.4 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.3993, allocations: 8.359 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3994, allocations: 8.375 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3996, allocations: 93.89 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3996, allocations: 4 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3996, allocations: 0 / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3996, allocations: 0 / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3997, allocations: 47.97 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.4003, allocations: 272.3 kB / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.4006, allocations: 106.7 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.4007, allocations: 36.84 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4007, allocations: 0 / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.401, allocations: 107.2 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.401, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003842/0.4014, allocations: 149.5 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.4014, allocations: 55.41 kB / 1.369 GB, free: 9.426 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.4016, allocations: 130.2 kB / 1.369 GB, free: 9.289 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4016, allocations: 25.7 kB / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.4017, allocations: 88.38 kB / 1.369 GB, free: 9.164 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.499e-05/0.4017, allocations: 39.83 kB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.4018, allocations: 25.7 kB / 1.369 GB, free: 9.094 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.402, allocations: 322.8 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.402, allocations: 27.98 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.4021, allocations: 35.92 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4022, allocations: 75.16 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4022, allocations: 0 / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002085/0.4024, allocations: 109.6 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4025, allocations: 4 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4025, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4025, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.4026, allocations: 23.92 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4026, allocations: 0 / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.4027, allocations: 11.92 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4027, allocations: 12 kB / 1.369 GB, free: 8.469 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001099/0.4028, allocations: 118.9 kB / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.4029, allocations: 7.953 kB / 1.37 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.4032, allocations: 153.9 kB / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.4032, allocations: 4 kB / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4032, allocations: 0 / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4032, allocations: 0 / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.4033, allocations: 145.2 kB / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4033, allocations: 0 / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-05/0.4034, allocations: 15.98 kB / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4034, allocations: 8 kB / 1.37 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4034, allocations: 4 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4034, allocations: 0 / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4034, allocations: 0 / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.4037, allocations: 167.9 kB / 1.37 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.4037, allocations: 11.89 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.4038, allocations: 7.984 kB / 1.37 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.4039, allocations: 4 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.4039, allocations: 19.97 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.4039, allocations: 4 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.882e-05/0.404, allocations: 103.3 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.404, allocations: 3.938 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000211/0.4042, allocations: 20 kB / 1.37 GB, free: 7.621 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001426/0.4044, allocations: 107.2 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.4046, allocations: 91.83 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4046, allocations: 0 / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.4047, allocations: 47.92 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.4049, allocations: 6.969 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.4053, allocations: 236.4 kB / 1.371 GB, free: 7.105 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.124e-05/0.4054, allocations: 87.17 kB / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.4055, allocations: 19.44 kB / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4055, allocations: 0 / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of Templates: time 0.003356/0.4088, allocations: 1.307 MB / 1.372 GB, free: 5.684 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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: 11.19064586283639]