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.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.001733/0.001733, allocations: 110.2 kB / 19.7 MB, free: 2.262 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.002291/0.002291, allocations: 223.2 kB / 23.01 MB, free: 4.613 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.791/2.791, allocations: 476.7 MB / 0.7714 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_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: 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.002016/0.002016, allocations: 70.38 kB / 1.119 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3789, allocations: 169.9 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003073/0.382, allocations: 1.515 MB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009522/0.383, allocations: 0.5121 MB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.383, allocations: 0 / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.383, allocations: 3.938 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.3833, allocations: 23.84 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.885e-05/0.3834, allocations: 27.91 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.7e-05/0.3835, allocations: 51.84 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.3835, allocations: 4 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.3837, allocations: 31.86 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.3838, allocations: 19.91 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3838, allocations: 4 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.3838, allocations: 4 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.3839, allocations: 15.98 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.3839, allocations: 19.86 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.384, allocations: 43.81 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.384, allocations: 4 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.384, allocations: 0 / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.384, allocations: 0 / 1.287 GB, free: 8.895 MB / 0.9825 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.0005399/0.3846, allocations: 282.2 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3846, allocations: 8.031 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.3846, allocations: 8.875 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3848, allocations: 118.4 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.3848, allocations: 384 / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3848, allocations: 8.375 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.3849, allocations: 53.98 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3849, allocations: 4 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3849, allocations: 4 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3849, allocations: 3.938 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.488e-05/0.385, allocations: 12 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.3853, allocations: 243.9 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3854, allocations: 42.56 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.3855, allocations: 24.94 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3855, allocations: 0 / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.3857, allocations: 63.39 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.3857, allocations: 0 / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002236/0.3859, allocations: 89.56 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.3859, allocations: 51.41 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3861, allocations: 113.8 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3861, allocations: 29.7 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.3861, allocations: 88.06 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.3862, allocations: 15.91 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.3862, allocations: 17.72 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3863, allocations: 318.8 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.3864, allocations: 12 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.3864, allocations: 12.38 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.306e-05/0.3865, allocations: 40.78 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3865, allocations: 4 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001141/0.3866, allocations: 65.64 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3866, allocations: 10.19 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.3866, allocations: 0 / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3866, allocations: 0 / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.3867, allocations: 8 kB / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3867, allocations: 0 / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.3867, allocations: 3.984 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3868, allocations: 4 kB / 1.289 GB, free: 6.984 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 9.126e-05/0.3868, allocations: 121.7 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.3869, allocations: 4 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.3869, allocations: 8.062 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3869, allocations: 0 / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3869, allocations: 4 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3869, allocations: 0 / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.387, allocations: 152.6 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.387, allocations: 3.938 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.3871, allocations: 4 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3871, allocations: 0 / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3871, allocations: 8 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3871, allocations: 0 / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3871, allocations: 0 / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.3872, allocations: 101 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.3873, allocations: 4.125 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3873, allocations: 4 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/0.3873, allocations: 7.922 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.3874, allocations: 4 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3874, allocations: 8 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.499e-05/0.3875, allocations: 91.27 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3875, allocations: 0 / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000208/0.3877, allocations: 15.89 kB / 1.289 GB, free: 6.379 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.000115/0.3878, allocations: 99.25 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.3879, allocations: 35.92 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3879, allocations: 4 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.388, allocations: 19.92 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.3881, allocations: 4 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.3885, allocations: 156 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3888, allocations: 0.6846 MB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.3888, allocations: 15.44 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3888, allocations: 0 / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of Templates: time 0.002328/0.3911, allocations: 0.7391 MB / 1.291 GB, free: 4.566 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/jenkins1/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: 11.216379404009786]