Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001753/0.001753, 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.002158/0.002158, 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.474/1.474, 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.365/3.365, allocations: 496 MB / 0.7835 GB, free: 33.44 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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime")
translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 59.09 kB / 1.138 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3725, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003158/0.3756, allocations: 1.625 MB / 1.309 GB, free: 180 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001079/0.3767, allocations: 0.5415 MB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.3768, allocations: 0 / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.3768, allocations: 15.86 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.3771, allocations: 43.77 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.3772, allocations: 35.89 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3774, allocations: 111.6 kB / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3775, allocations: 23.92 kB / 1.31 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.3777, allocations: 47.84 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3778, allocations: 59.75 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.3778, allocations: 8 kB / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.3778, allocations: 8 kB / 1.31 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.3779, allocations: 19.98 kB / 1.31 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.3779, allocations: 43.78 kB / 1.31 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.3781, allocations: 91.61 kB / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3781, allocations: 4 kB / 1.31 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.503e-06/0.3781, allocations: 0 / 1.31 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.61e-06/0.3781, allocations: 4 kB / 1.31 GB, free: 15.12 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: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.000766/0.3789, allocations: 326 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3789, allocations: 8.031 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.379, allocations: 8.891 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3791, allocations: 126.4 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3792, allocations: 8.375 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3792, allocations: 4.375 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3794, allocations: 85.95 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.3794, allocations: 4 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3794, allocations: 4 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3794, allocations: 4 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.3795, allocations: 51.84 kB / 1.311 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.3801, allocations: 311.8 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.3804, allocations: 102.7 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.033e-05/0.3805, allocations: 36.84 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3805, allocations: 4 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.3808, allocations: 107.2 kB / 1.311 GB, free: 13.83 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.3808, allocations: 0 / 1.311 GB, free: 13.83 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.0003637/0.3812, allocations: 145.9 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.3812, allocations: 55.41 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3813, allocations: 133.9 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3814, allocations: 25.7 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3814, allocations: 92.45 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.3815, allocations: 39.69 kB / 1.312 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.3815, allocations: 25.7 kB / 1.312 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001658/0.3817, allocations: 322.7 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.27e-05/0.3818, allocations: 31.98 kB / 1.312 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.3818, allocations: 27.98 kB / 1.312 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.382, allocations: 72.09 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.382, allocations: 0 / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001939/0.3822, allocations: 113.6 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3822, allocations: 4 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3822, allocations: 0 / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3822, allocations: 4 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3823, allocations: 15.98 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3823, allocations: 0 / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.3824, allocations: 19.92 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3825, allocations: 0 / 1.312 GB, free: 12.66 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (13):
 * Single equations (assignments): 13
 * 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.0001087/0.3826, allocations: 129.7 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.3826, allocations: 3.953 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.3829, allocations: 150 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3829, allocations: 3.984 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3829, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3829, allocations: 3.938 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.3831, allocations: 188.6 kB / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3831, allocations: 0 / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.3832, allocations: 31.92 kB / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3832, allocations: 0 / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3832, allocations: 0 / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3832, allocations: 0 / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3832, allocations: 0 / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.3835, allocations: 165 kB / 1.313 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.3835, allocations: 11.94 kB / 1.313 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.3835, allocations: 4 kB / 1.313 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3836, allocations: 8 kB / 1.313 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.3837, allocations: 15.97 kB / 1.313 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3837, allocations: 11.88 kB / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.45e-05/0.3838, allocations: 103.2 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3838, allocations: 0 / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002065/0.384, allocations: 27.94 kB / 1.313 GB, free: 11.74 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext)
 * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (14):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.0001301/0.3841, allocations: 100 kB / 1.313 GB, free: 11.63 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002036/0.3843, allocations: 86.84 kB / 1.313 GB, free: 11.55 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3843, allocations: 3.938 kB / 1.313 GB, free: 11.55 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3844, allocations: 39.98 kB / 1.313 GB, free: 11.51 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.3846, allocations: 9.094 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.3851, allocations: 219.7 kB / 1.313 GB, free: 11.26 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3855, allocations: 0.6963 MB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 5.655e-05/0.3855, allocations: 12.48 kB / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.3856, allocations: 15.44 kB / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of SimCode: time 3.1e-07/0.3856, allocations: 0 / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of Templates: time 0.00439/0.39, allocations: 1.166 MB / 1.315 GB, free: 9.352 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.298931068740785]