Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001939/0.001939, 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.001484/0.001484, allocations: 189 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.467/1.467, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.892/2.892, allocations: 476.7 MB / 0.7646 GB, free: 9.918 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 63.89 kB / 1.11 GB, free: 6.34 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9879/0.9901, allocations: 168.8 MB / 1.274 GB, free: 4.059 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.004086/0.9942, allocations: 1.488 MB / 1.276 GB, free: 2.562 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001408/0.9956, allocations: 488.4 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.9956, allocations: 0 / 1.276 GB, free: 2.082 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 5.197e-05/0.9957, allocations: 7.922 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.996, allocations: 23.84 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.9962, allocations: 12 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001742/0.9963, allocations: 59.72 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.9965, allocations: 11.98 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.9966, allocations: 23.92 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.9967, allocations: 27.84 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.9968, allocations: 4 kB / 1.276 GB, free: 1.914 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.26e-05/0.9968, allocations: 4 kB / 1.276 GB, free: 1.91 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.9968, allocations: 4 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.9969, allocations: 31.84 kB / 1.276 GB, free: 1.875 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.997, allocations: 39.69 kB / 1.276 GB, free: 1.84 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.997, allocations: 0 / 1.276 GB, free: 1.84 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 2.354e-06/0.9971, allocations: 0 / 1.276 GB, free: 1.84 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 1.309e-05/0.9971, allocations: 4 kB / 1.277 GB, free: 1.836 MB / 0.9669 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.0007883/0.9979, allocations: 276.8 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.9979, allocations: 8.031 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.998, allocations: 12.88 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.9981, allocations: 118.4 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.9982, allocations: 384 / 1.277 GB, free: 1.383 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.9982, allocations: 4.375 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.9984, allocations: 57.92 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.9984, allocations: 4 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.9984, allocations: 0 / 1.277 GB, free: 1.312 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.9984, allocations: 4 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.9985, allocations: 16 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.9991, allocations: 243.9 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.9993, allocations: 46.5 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.9993, allocations: 28.92 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.9994, allocations: 4 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.9996, allocations: 59.39 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.9996, allocations: 0 / 1.277 GB, free: 0.8516 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=5): time 0.000391/1, allocations: 77.69 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/1, allocations: 59.34 kB / 1.277 GB, free: 0.6992 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/1, allocations: 105.8 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.796e-05/1, allocations: 25.7 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/1, allocations: 100.1 kB / 1.278 GB, free: 464 kB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/1, allocations: 11.91 kB / 1.278 GB, free: 452 kB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/1, allocations: 13.72 kB / 1.278 GB, free: 432 kB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0002148/1.001, allocations: 326.8 kB / 1.278 GB, free: 96 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/1.001, allocations: 8 kB / 1.278 GB, free: 88 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/1.001, allocations: 15.98 kB / 1.278 GB, free: 72 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/1.001, allocations: 33.23 kB / 1.278 GB, free: 36 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.001, allocations: 0 / 1.278 GB, free: 36 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002275/1.001, allocations: 69.58 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.001, allocations: 8 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.001, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.001, allocations: 4 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/1.001, allocations: 8 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.001, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/1.001, allocations: 11.92 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/1.001, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 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.0001511/1.002, allocations: 117.8 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/1.002, allocations: 7.953 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/1.002, allocations: 8.062 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/1.002, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.002, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.002, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.002, allocations: 148.7 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.002, allocations: 3.938 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/1.002, allocations: 4 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.002, allocations: 0 / 1.278 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/1.002, allocations: 4 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/1.002, allocations: 0 / 1.278 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.002, allocations: 7.938 kB / 1.278 GB, free: 15.58 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/1.002, allocations: 97.05 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/1.002, allocations: 7.953 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/1.002, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/1.002, allocations: 7.984 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/1.002, allocations: 4 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/1.002, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0001112/1.002, allocations: 91.27 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 1.81e-07/1.002, allocations: 7.938 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003658/1.003, allocations: 12 kB / 1.279 GB, free: 15.34 MB / 0.9825 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.0001641/1.003, allocations: 95.38 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.000225/1.003, allocations: 43.86 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.003, allocations: 0 / 1.279 GB, free: 15.19 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001031/1.003, allocations: 19.98 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/1.004, allocations: 6.438 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/1.004, allocations: 138.1 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/1.005, allocations: 0.6884 MB / 1.28 GB, free: 14.29 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.77e-05/1.005, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/1.005, allocations: 11.44 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB
Notification: Performance of SimCode: time 4.01e-07/1.005, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004391/1.009, allocations: 0.582 MB / 1.28 GB, free: 13.71 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.100437493994832]