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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 188.1 kB / 22.11 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 250.8 MB, free: 2.934 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.958/2.958, allocations: 495.8 MB / 0.7831 GB, free: 12.27 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002993/0.002993, allocations: 63.91 kB / 1.137 GB, free: 12.18 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.117, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002417/1.119, allocations: 1.476 MB / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0003913/1.12, allocations: 184 kB / 1.308 GB, free: 32.6 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/1.12, allocations: 4 kB / 1.308 GB, free: 32.59 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 3.485e-05/1.12, allocations: 3.938 kB / 1.308 GB, free: 32.59 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002273/1.12, allocations: 25.58 kB / 1.308 GB, free: 32.57 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000215/1.12, allocations: 52.59 kB / 1.308 GB, free: 32.55 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0001/1.12, allocations: 58.11 kB / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/1.12, allocations: 6.906 kB / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/1.12, allocations: 23.11 kB / 1.309 GB, free: 32.51 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/1.12, allocations: 23.34 kB / 1.309 GB, free: 32.5 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 2.102e-05/1.12, allocations: 6.75 kB / 1.309 GB, free: 32.5 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/1.121, allocations: 6.156 kB / 1.309 GB, free: 32.5 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 2.775e-05/1.121, allocations: 19.06 kB / 1.309 GB, free: 32.48 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 4.824e-05/1.121, allocations: 24.2 kB / 1.309 GB, free: 32.47 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001041/1.121, allocations: 50.7 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.121, allocations: 0 / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.615e-06/1.121, allocations: 2.812 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 6.111e-06/1.121, allocations: 0 / 1.309 GB, free: 32.45 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.0004954/1.121, allocations: 276.5 kB / 1.309 GB, free: 32.18 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.121, allocations: 8.781 kB / 1.309 GB, free: 32.18 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/1.121, allocations: 7.875 kB / 1.309 GB, free: 32.18 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/1.121, allocations: 113.8 kB / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/1.121, allocations: 3.25 kB / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/1.121, allocations: 384 / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/1.122, allocations: 76.88 kB / 1.309 GB, free: 31.98 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.122, allocations: 192 / 1.309 GB, free: 31.98 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/1.122, allocations: 10.94 kB / 1.309 GB, free: 31.97 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.122, allocations: 0 / 1.309 GB, free: 31.97 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/1.122, allocations: 19.89 kB / 1.309 GB, free: 31.96 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/1.122, allocations: 240 kB / 1.309 GB, free: 31.72 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.938e-05/1.122, allocations: 37.47 kB / 1.309 GB, free: 31.69 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/1.122, allocations: 14.86 kB / 1.309 GB, free: 31.68 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/1.122, allocations: 3.938 kB / 1.309 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/1.122, allocations: 66.03 kB / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=4): time 1.423e-06/1.122, allocations: 2.812 kB / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of matching and sorting (n=4): time 0.0002143/1.122, allocations: 80.31 kB / 1.31 GB, free: 31.56 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.122, allocations: 109.1 kB / 1.31 GB, free: 31.43 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.282e-05/1.123, allocations: 103.6 kB / 1.31 GB, free: 31.33 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.45e-05/1.123, allocations: 28.73 kB / 1.31 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/1.123, allocations: 87.61 kB / 1.31 GB, free: 31.21 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/1.123, allocations: 10.8 kB / 1.31 GB, free: 31.2 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/1.123, allocations: 27.03 kB / 1.31 GB, free: 31.18 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.584e-05/1.123, allocations: 318.8 kB / 1.31 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/1.123, allocations: 9.141 kB / 1.31 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.552e-05/1.123, allocations: 40.98 kB / 1.31 GB, free: 30.82 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/1.123, allocations: 24.2 kB / 1.31 GB, free: 30.81 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.123, allocations: 0 / 1.31 GB, free: 30.81 MB / 1.061 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 8.674e-05/1.123, allocations: 65.84 kB / 1.31 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.123, allocations: 9.719 kB / 1.31 GB, free: 30.75 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.123, allocations: 0 / 1.31 GB, free: 30.75 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.123, allocations: 2.875 kB / 1.31 GB, free: 30.75 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/1.123, allocations: 9.125 kB / 1.31 GB, free: 30.75 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/1.123, allocations: 0 / 1.31 GB, free: 30.75 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/1.123, allocations: 9.125 kB / 1.31 GB, free: 30.75 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/1.123, allocations: 3.656 kB / 1.31 GB, free: 30.75 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 (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 7.17e-05/1.123, allocations: 126.8 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/1.123, allocations: 6.688 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/1.123, allocations: 3.688 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/1.123, allocations: 0 / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.123, allocations: 0 / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.123, allocations: 2.781 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.596e-05/1.123, allocations: 151.9 kB / 1.311 GB, free: 30.44 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.123, allocations: 0 / 1.311 GB, free: 30.44 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/1.123, allocations: 6.781 kB / 1.311 GB, free: 30.43 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.123, allocations: 4 kB / 1.311 GB, free: 30.43 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/1.123, allocations: 3.656 kB / 1.311 GB, free: 30.43 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.123, allocations: 2.812 kB / 1.311 GB, free: 30.43 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/1.123, allocations: 4 kB / 1.311 GB, free: 30.43 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/1.123, allocations: 90.62 kB / 1.311 GB, free: 30.35 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/1.124, allocations: 10.19 kB / 1.311 GB, free: 30.34 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/1.124, allocations: 0 / 1.311 GB, free: 30.34 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/1.124, allocations: 11.83 kB / 1.311 GB, free: 30.34 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/1.124, allocations: 3.031 kB / 1.311 GB, free: 30.34 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.124, allocations: 7.266 kB / 1.311 GB, free: 30.34 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.834e-05/1.124, allocations: 89.22 kB / 1.311 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/1.124, allocations: 0 / 1.311 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.000187/1.124, allocations: 8.469 kB / 1.311 GB, free: 30.26 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,conTim.tNext)
 * Number of discrete states: 1 (conTim.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 3
 * 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 8.76e-05/1.124, allocations: 100.6 kB / 1.311 GB, free: 30.16 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.000127/1.124, allocations: 35.39 kB / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.124, allocations: 2.688 kB / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 3.679e-05/1.124, allocations: 8.594 kB / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/1.124, allocations: 7.938 kB / 1.311 GB, free: 30.14 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/1.125, allocations: 136.5 kB / 1.311 GB, free: 30.02 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/1.125, allocations: 0.6858 MB / 1.312 GB, free: 29.31 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 3.57e-05/1.125, allocations: 8.906 kB / 1.312 GB, free: 29.31 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/1.125, allocations: 10.19 kB / 1.312 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of SimCode: time 3.71e-07/1.125, allocations: 0 / 1.312 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of Templates: time 0.003397/1.128, allocations: 0.9067 MB / 1.313 GB, free: 29.19 MB / 1.061 GB
"
[Timeout remaining time 299]
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/jenkins/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.626401925459504]