Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00144/0.00144, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001504/0.001504, allocations: 212.6 kB / 23 MB, free: 4.934 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.479/3.479, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_12_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_12_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.002086/0.002086, allocations: 71.86 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4429, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003466/0.4463, allocations: 1.489 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.4476, allocations: 470.8 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.529e-05/0.4476, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.4477, allocations: 7.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.448, allocations: 23.86 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.4481, allocations: 15.97 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.4482, allocations: 55.73 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4483, allocations: 11.92 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.4485, allocations: 27.92 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.4486, allocations: 27.91 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.4487, allocations: 4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.4487, allocations: 4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.4487, allocations: 11.92 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.4488, allocations: 15.94 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.4489, allocations: 47.86 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4489, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4489, allocations: 3.938 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4489, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 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.0006606/0.4496, allocations: 278.2 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4496, allocations: 8.031 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.4497, allocations: 4.938 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.4498, allocations: 122.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4498, allocations: 384 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.4498, allocations: 8.375 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.45, allocations: 50 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.45, allocations: 7.922 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.45, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.45, allocations: 4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.269e-05/0.4501, allocations: 23.92 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.4505, allocations: 208.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.4506, allocations: 42.5 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.4506, allocations: 20.94 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.4506, allocations: 7.938 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.4509, allocations: 71.39 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.4509, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0002509/0.4511, allocations: 77.64 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.4512, allocations: 55.41 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.4513, allocations: 113.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.4513, allocations: 29.64 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.4514, allocations: 88.12 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.4514, allocations: 15.89 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.4514, allocations: 17.72 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4516, allocations: 318.8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.4516, allocations: 16 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.4517, allocations: 15.98 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.217e-05/0.4517, allocations: 24.86 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4517, allocations: 3.938 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001345/0.4519, allocations: 65.64 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4519, allocations: 8 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4519, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4519, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.452, allocations: 15.88 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.452, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.4521, allocations: 7.984 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4521, allocations: 8 kB / 1.331 GB, free: 12.9 MB / 1.029 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 9.897e-05/0.4522, allocations: 114.3 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.4522, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.4522, allocations: 12.06 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4522, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4522, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.4523, allocations: 11.88 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.4523, allocations: 4.438 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.4523, allocations: 4 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.4524, allocations: 11.92 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001858/0.4526, allocations: 148.9 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002353/0.4528, allocations: 242.8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.529e-05/0.4528, allocations: 15.98 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.4529, allocations: 87.28 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of Backend: time 2.71e-07/0.4529, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.4533, allocations: 104.1 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of SimCode: time 0.000596/0.4539, allocations: 0.5734 MB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of Templates: time 0.003488/0.4574, allocations: 0.7089 MB / 1.333 GB, free: 10.8 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.542047558999911]