Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.001966/0.001966, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002525/0.002525, allocations: 187.4 kB / 22.22 MB, free: 5.105 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.472/1.472, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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 3.17/3.17, allocations: 496 MB / 0.7835 GB, free: 33.8 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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart")
translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 66.55 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3589, allocations: 173.6 MB / 1.307 GB, free: 1.789 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002823/0.3618, allocations: 1.477 MB / 1.309 GB, free: 308 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0005139/0.3623, allocations: 191.4 kB / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.3623, allocations: 0 / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.3623, allocations: 3.938 kB / 1.309 GB, free: 112 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.000239/0.3626, allocations: 27.84 kB / 1.309 GB, free: 84 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.3628, allocations: 59.16 kB / 1.309 GB, free: 28 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3629, allocations: 47.94 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.363, allocations: 15.92 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.235e-05/0.3631, allocations: 23.84 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.3632, allocations: 23.91 kB / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.3632, allocations: 7.938 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.3632, allocations: 4 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.3632, allocations: 15.98 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.3633, allocations: 23.86 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3634, allocations: 43.88 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3634, allocations: 0 / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.052e-06/0.3634, allocations: 0 / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.448e-06/0.3634, allocations: 0 / 1.309 GB, free: 15.82 MB / 1.014 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.0005407/0.3639, allocations: 282.3 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.364, allocations: 8.922 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.364, allocations: 4.938 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3642, allocations: 118.4 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3642, allocations: 4.375 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.3642, allocations: 384 / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3643, allocations: 80.75 kB / 1.31 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3644, allocations: 192 / 1.31 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3644, allocations: 7.938 kB / 1.31 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3644, allocations: 0 / 1.31 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.599e-05/0.3644, allocations: 19.98 kB / 1.31 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.3648, allocations: 240 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.3649, allocations: 38.5 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.365, allocations: 16.94 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.365, allocations: 4 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.3651, allocations: 63.39 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3651, allocations: 0 / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0002253/0.3654, allocations: 73.58 kB / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.3654, allocations: 110.8 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.3655, allocations: 101.9 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3656, allocations: 33.64 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.3656, allocations: 88.12 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.3656, allocations: 7.953 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.3657, allocations: 25.66 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001535/0.3658, allocations: 326.7 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.3659, allocations: 8 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.3659, allocations: 30.56 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.151e-05/0.366, allocations: 24.86 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.366, allocations: 4.031 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.000109/0.3661, allocations: 65.62 kB / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3661, allocations: 4 kB / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3661, allocations: 448 / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3661, allocations: 4 kB / 1.311 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.3662, allocations: 7.984 kB / 1.311 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3662, allocations: 0 / 1.311 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3663, allocations: 13.22 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.3663, allocations: 7.984 kB / 1.311 GB, free: 13.82 MB / 1.014 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 9.802e-05/0.3664, allocations: 121.8 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.3665, allocations: 3.984 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.3665, allocations: 3.688 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3665, allocations: 4 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3665, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3665, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3666, allocations: 148.6 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3666, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.3667, allocations: 7.938 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3667, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.3667, allocations: 4 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3667, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3667, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.3668, allocations: 93.05 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.3668, allocations: 11.98 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3669, allocations: 0 / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.367, allocations: 7.984 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.367, allocations: 4 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.367, allocations: 4 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.42e-05/0.3671, allocations: 87.27 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3671, allocations: 0 / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001919/0.3673, allocations: 15.95 kB / 1.311 GB, free: 13.23 MB / 1.014 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 0.0001175/0.3674, allocations: 108 kB / 1.312 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001263/0.3675, allocations: 31.92 kB / 1.312 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3675, allocations: 0 / 1.312 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.3676, allocations: 15.92 kB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3677, allocations: 19.88 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.368, allocations: 122.9 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3683, allocations: 0.6807 MB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.706e-05/0.3684, allocations: 7.984 kB / 1.312 GB, free: 12.19 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.3684, allocations: 11.44 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.3684, allocations: 0 / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of Templates: time 0.003566/0.372, allocations: 0.9171 MB / 1.313 GB, free: 11.31 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.116294661536813]