Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001638/0.001638, allocations: 97.11 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.002068/0.002068, allocations: 210.9 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.286/3.286, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [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.002038/0.002038, allocations: 68.45 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4385, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.004383/0.4429, allocations: 1.469 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.000761/0.4437, allocations: 183.4 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.4437, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.4438, allocations: 3.938 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.4441, allocations: 19.86 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.4444, allocations: 63.78 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.4446, allocations: 71.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.4447, allocations: 7.938 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.4448, allocations: 23.98 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.4449, allocations: 19.92 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.4449, allocations: 4 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.464e-05/0.445, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.445, allocations: 19.91 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/0.4451, allocations: 19.88 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.4452, allocations: 51.84 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4452, allocations: 4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4452, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4452, allocations: 0 / 1.329 GB, free: 15.03 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.0008127/0.446, allocations: 274.3 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4461, allocations: 8.031 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.4462, allocations: 4.891 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.4463, allocations: 114.5 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.4464, allocations: 4.375 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.4464, allocations: 4.375 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.4467, allocations: 128.2 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4467, allocations: 4.188 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.4467, allocations: 3.938 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4467, allocations: 4 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.491e-05/0.4468, allocations: 15.98 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.4473, allocations: 208.6 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.4475, allocations: 46.44 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.4475, allocations: 12.86 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.4475, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.4478, allocations: 59.48 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.4478, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003245/0.4481, allocations: 81.61 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.4482, allocations: 102.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.4484, allocations: 105.8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4484, allocations: 25.7 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.4485, allocations: 88.14 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.4485, allocations: 7.906 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.4486, allocations: 25.7 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.4488, allocations: 310.8 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.4488, allocations: 11.98 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.449, allocations: 97.91 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.943e-05/0.4491, allocations: 29.23 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4491, allocations: 3.938 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001753/0.4492, allocations: 65.56 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4493, allocations: 6.188 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4493, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4493, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4494, allocations: 8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4494, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.4496, allocations: 19.88 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4496, allocations: 0 / 1.331 GB, free: 12.95 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001344/0.4497, allocations: 118.3 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.4497, allocations: 4.188 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.4498, allocations: 15.66 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4498, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4498, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.4498, allocations: 7.984 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.4499, allocations: 8 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.45, allocations: 7.984 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.4501, allocations: 3.938 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002358/0.4503, allocations: 148.9 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002998/0.4506, allocations: 238.8 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.852e-05/0.4507, allocations: 12 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.4507, allocations: 87.27 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of Backend: time 4.91e-07/0.4507, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000604/0.4513, allocations: 105 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009495/0.4523, allocations: 0.5572 MB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of Templates: time 0.006034/0.4583, allocations: 1.068 MB / 1.333 GB, free: 10.5 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.296124415996019]