Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.00136/0.00136, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00153/0.00153, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.269/3.269, allocations: 0.5107 GB / 0.8166 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [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.002126/0.002126, allocations: 68.14 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3959, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003046/0.399, allocations: 1.496 MB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009954/0.4, allocations: 475.8 kB / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.4, allocations: 0 / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.4, allocations: 3.938 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.4003, allocations: 23.84 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.4004, allocations: 11.98 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4005, allocations: 63.78 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.4006, allocations: 11.92 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.4008, allocations: 31.86 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.446e-05/0.4009, allocations: 19.91 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.4009, allocations: 4 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.4009, allocations: 4 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.4009, allocations: 11.98 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.401, allocations: 19.86 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.4011, allocations: 35.89 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4011, allocations: 0 / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4011, allocations: 4 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.4011, allocations: 4 kB / 1.367 GB, free: 11.35 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005945/0.4017, allocations: 274.2 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4017, allocations: 12.02 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.4018, allocations: 12.88 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.4019, allocations: 110.5 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.402, allocations: 4.375 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.402, allocations: 8.312 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.4021, allocations: 53.98 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4021, allocations: 4 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4021, allocations: 4 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4021, allocations: 0 / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.4022, allocations: 19.98 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.4026, allocations: 208.5 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.4027, allocations: 50.44 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.4028, allocations: 16.86 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.4028, allocations: 0 / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.403, allocations: 67.48 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.403, allocations: 0 / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0002404/0.4032, allocations: 85.61 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.4033, allocations: 55.41 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.4034, allocations: 109.8 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4034, allocations: 25.7 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.4035, allocations: 96.03 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.4035, allocations: 7.938 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.4036, allocations: 21.66 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4037, allocations: 318.8 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.4038, allocations: 11.98 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.4038, allocations: 12 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.4039, allocations: 37.17 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4039, allocations: 8 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001307/0.404, allocations: 65.58 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.404, allocations: 4 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.404, allocations: 0 / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.404, allocations: 4 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.4041, allocations: 7.984 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4041, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.4042, allocations: 8 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.4042, allocations: 0 / 1.368 GB, free: 9.488 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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001042/0.4043, allocations: 121.8 kB / 1.369 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.4043, allocations: 11.94 kB / 1.369 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.4043, allocations: 4.062 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4043, allocations: 0 / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4043, allocations: 0 / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4043, allocations: 4 kB / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.4045, allocations: 125.2 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4045, allocations: 0 / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.4045, allocations: 7.938 kB / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4045, allocations: 0 / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4046, allocations: 0 / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4046, allocations: 4 kB / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4046, allocations: 3.984 kB / 1.369 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.4047, allocations: 97.06 kB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.4048, allocations: 7.953 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.4048, allocations: 0 / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.4048, allocations: 3.984 kB / 1.369 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.4049, allocations: 7.984 kB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.4049, allocations: 8.109 kB / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.519e-05/0.405, allocations: 91.28 kB / 1.369 GB, free: 8.934 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.405, allocations: 3.938 kB / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001887/0.4052, allocations: 8 kB / 1.369 GB, free: 8.922 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001524/0.4053, allocations: 107.2 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.4054, allocations: 31.98 kB / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4054, allocations: 0 / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.318e-05/0.4055, allocations: 19.98 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.4057, allocations: 5.625 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.4061, allocations: 167.9 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.81e-05/0.4061, allocations: 63.34 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.4062, allocations: 19.44 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4062, allocations: 0 / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of Templates: time 0.002626/0.4088, allocations: 0.7549 MB / 1.37 GB, free: 7.711 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.282930647954345]