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.001439/0.001439, allocations: 105 kB / 18.84 MB, free: 3.027 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.001625/0.001625, allocations: 209.3 kB / 22.12 MB, free: 5.18 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.579/1.579, allocations: 230.5 MB / 255.8 MB, free: 8.074 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.321/3.321, allocations: 0.4898 GB / 0.7946 GB, free: 33.42 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.002113/0.002113, allocations: 66.48 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002841/0.3723, allocations: 1.493 MB / 1.327 GB, free: 15.98 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.0009435/0.3732, allocations: 474.7 kB / 1.328 GB, free: 15.52 MB / 1.029 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.3732, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB
Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.3733, allocations: 3.938 kB / 1.328 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.3735, allocations: 23.84 kB / 1.328 GB, free: 15.49 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 8.866e-05/0.3736, allocations: 15.92 kB / 1.328 GB, free: 15.47 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.0001105/0.3737, allocations: 51.86 kB / 1.328 GB, free: 15.42 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.979e-05/0.3738, allocations: 7.922 kB / 1.328 GB, free: 15.41 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.374, allocations: 43.84 kB / 1.328 GB, free: 15.37 MB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.3741, allocations: 19.92 kB / 1.328 GB, free: 15.35 MB / 1.029 GB
Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3741, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.3741, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB
Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.3741, allocations: 15.92 kB / 1.328 GB, free: 15.33 MB / 1.029 GB
Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.3741, allocations: 11.94 kB / 1.328 GB, free: 15.32 MB / 1.029 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.3742, allocations: 43.86 kB / 1.328 GB, free: 15.28 MB / 1.029 GB
Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3742, allocations: 4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB
Notification: Performance of FrontEnd: time 1.222e-06/0.3742, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB
Notification: Performance of Transformations before backend: time 9.548e-06/0.3743, allocations: 4 kB / 1.328 GB, free: 15.27 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.0005672/0.3748, allocations: 278.2 kB / 1.328 GB, free: 14.97 MB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3749, allocations: 12.03 kB / 1.328 GB, free: 14.96 MB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3749, allocations: 0.9375 kB / 1.328 GB, free: 14.96 MB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.375, allocations: 122.4 kB / 1.328 GB, free: 14.81 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3751, allocations: 4.375 kB / 1.328 GB, free: 14.81 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3751, allocations: 384 / 1.328 GB, free: 14.81 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.3752, allocations: 54 kB / 1.328 GB, free: 14.75 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.3752, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3752, allocations: 4 kB / 1.328 GB, free: 14.75 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3752, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.3753, allocations: 23.92 kB / 1.328 GB, free: 14.72 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.3757, allocations: 239.9 kB / 1.329 GB, free: 14.45 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3758, allocations: 42.56 kB / 1.329 GB, free: 14.39 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.3758, allocations: 24.92 kB / 1.329 GB, free: 14.37 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.3758, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.376, allocations: 63.39 kB / 1.329 GB, free: 14.29 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.376, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB
Notification: Performance of matching and sorting (n=5): time 0.0002439/0.3763, allocations: 89.56 kB / 1.329 GB, free: 14.2 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3763, allocations: 55.41 kB / 1.329 GB, free: 14.13 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3764, allocations: 117.8 kB / 1.329 GB, free: 14.01 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3765, allocations: 25.7 kB / 1.329 GB, free: 13.98 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.3765, allocations: 84.08 kB / 1.329 GB, free: 13.89 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.3765, allocations: 15.91 kB / 1.329 GB, free: 13.88 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.3766, allocations: 21.7 kB / 1.329 GB, free: 13.85 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001766/0.3768, allocations: 314.8 kB / 1.329 GB, free: 13.53 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.324e-05/0.3768, allocations: 12 kB / 1.329 GB, free: 13.52 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.3768, allocations: 19.98 kB / 1.329 GB, free: 13.5 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.244e-05/0.3769, allocations: 33.17 kB / 1.33 GB, free: 13.46 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3769, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001177/0.377, allocations: 73.64 kB / 1.33 GB, free: 13.39 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.377, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.377, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.377, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.3771, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3771, allocations: 3.984 kB / 1.33 GB, free: 13.37 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.3772, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.3772, allocations: 0 / 1.33 GB, free: 13.37 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 0.000104/0.3773, allocations: 118.3 kB / 1.33 GB, free: 13.24 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.3773, allocations: 3.938 kB / 1.33 GB, free: 13.24 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.3773, allocations: 16.06 kB / 1.33 GB, free: 13.21 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3773, allocations: 3.984 kB / 1.33 GB, free: 13.21 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3773, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3773, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.3775, allocations: 140.6 kB / 1.33 GB, free: 13.03 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3775, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.3775, allocations: 8 kB / 1.33 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3775, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3775, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3775, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3775, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.3777, allocations: 109 kB / 1.33 GB, free: 12.9 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.3777, allocations: 3.938 kB / 1.33 GB, free: 12.89 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.3777, allocations: 8.125 kB / 1.33 GB, free: 12.89 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.3778, allocations: 3.984 kB / 1.33 GB, free: 12.88 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.3778, allocations: 7.938 kB / 1.33 GB, free: 12.88 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3778, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 7.106e-05/0.3779, allocations: 95.2 kB / 1.33 GB, free: 12.78 MB / 1.029 GB
Notification: Performance of sort global known variables: time 5.1e-08/0.3779, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0001961/0.3781, allocations: 15.95 kB / 1.33 GB, free: 12.77 MB / 1.029 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.0001207/0.3782, allocations: 103.2 kB / 1.33 GB, free: 12.66 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0001351/0.3784, allocations: 31.92 kB / 1.33 GB, free: 12.62 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3784, allocations: 4 kB / 1.33 GB, free: 12.62 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 4.727e-05/0.3784, allocations: 19.92 kB / 1.33 GB, free: 12.6 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3786, allocations: 4 kB / 1.33 GB, free: 12.6 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.3789, allocations: 130.3 kB / 1.33 GB, free: 12.45 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 7.237e-05/0.379, allocations: 67.33 kB / 1.33 GB, free: 12.36 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 2.916e-05/0.379, allocations: 4 kB / 1.33 GB, free: 12.36 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.379, allocations: 15.44 kB / 1.33 GB, free: 12.34 MB / 1.029 GB
Notification: Performance of SimCode: time 3.11e-07/0.379, allocations: 0 / 1.33 GB, free: 12.34 MB / 1.029 GB
Notification: Performance of Templates: time 0.003057/0.3821, allocations: 0.5749 MB / 1.331 GB, free: 11.79 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/jenkins/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.273840568959713]