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.00184/0.00184, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002238/0.002238, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.498/1.498, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.789/2.789, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.664e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003157/0.003193, allocations: 1.486 MB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.004197, allocations: 475.3 kB / 0.9529 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.00425, allocations: 0 / 0.9529 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.004283, allocations: 0 / 0.9529 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.00455, allocations: 35.7 kB / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.508e-05/0.004635, allocations: 19.97 kB / 0.9529 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.004748, allocations: 55.78 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.004864, allocations: 12 kB / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.005085, allocations: 43.83 kB / 0.953 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.005176, allocations: 19.86 kB / 0.9531 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.005199, allocations: 8 kB / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.741e-05/0.005217, allocations: 4 kB / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.00524, allocations: 7.984 kB / 0.9531 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.005293, allocations: 23.91 kB / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.005404, allocations: 43.88 kB / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005407, allocations: 0 / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.005408, allocations: 0 / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.005413, allocations: 4 kB / 0.9532 GB, free: 9.293 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006418/0.006055, allocations: 290.2 kB / 0.9534 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.006102, allocations: 8.031 kB / 0.9534 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.006148, allocations: 4.938 kB / 0.9534 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.006301, allocations: 117.7 kB / 0.9536 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.006318, allocations: 384 / 0.9536 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.006335, allocations: 8.359 kB / 0.9536 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.006468, allocations: 50.25 kB / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.00648, allocations: 4.125 kB / 0.9536 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.006492, allocations: 4.375 kB / 0.9536 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.006499, allocations: 7.938 kB / 0.9536 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.006566, allocations: 23.92 kB / 0.9537 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.007024, allocations: 216.6 kB / 0.9539 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.007176, allocations: 46.56 kB / 0.9539 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.007227, allocations: 24.97 kB / 0.9539 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.007234, allocations: 3.938 kB / 0.9539 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.007405, allocations: 75.28 kB / 0.954 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.007406, allocations: 0 / 0.954 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002322/0.007638, allocations: 77.69 kB / 0.9541 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.007693, allocations: 59.41 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.007795, allocations: 113.8 kB / 0.9542 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.007819, allocations: 33.69 kB / 0.9543 GB, free: 8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.007877, allocations: 92.14 kB / 0.9544 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.007904, allocations: 19.86 kB / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.007952, allocations: 25.7 kB / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.008094, allocations: 314.8 kB / 0.9547 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.008138, allocations: 19.98 kB / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.008172, allocations: 12 kB / 0.9547 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.121e-05/0.008253, allocations: 37.31 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.008255, allocations: 0 / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001276/0.008382, allocations: 77.62 kB / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.008399, allocations: 8 kB / 0.9549 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.008404, allocations: 4.188 kB / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.008421, allocations: 3.984 kB / 0.9549 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.008501, allocations: 15.94 kB / 0.9549 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.008506, allocations: 0 / 0.9549 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.008575, allocations: 11.95 kB / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.008584, allocations: 0 / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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.719e-05/0.008681, allocations: 117.8 kB / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.008698, allocations: 7.938 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.008722, allocations: 8.438 kB / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.008723, allocations: 0 / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.008727, allocations: 0 / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.008729, allocations: 0 / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.00885, allocations: 121.2 kB / 0.9551 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.008853, allocations: 4 kB / 0.9551 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.008884, allocations: 4 kB / 0.9551 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.00889, allocations: 11.86 kB / 0.9551 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.008898, allocations: 0 / 0.9551 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008899, allocations: 0 / 0.9551 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.008902, allocations: 7.938 kB / 0.9552 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.009062, allocations: 101.1 kB / 0.9553 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.009078, allocations: 7.938 kB / 0.9553 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.0091, allocations: 3.938 kB / 0.9553 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/0.009162, allocations: 7.984 kB / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.009204, allocations: 11.98 kB / 0.9553 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.009209, allocations: 0 / 0.9553 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.447e-05/0.009274, allocations: 87.28 kB / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.009274, allocations: 0 / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001986/0.009472, allocations: 11.98 kB / 0.9554 GB, free: 6.781 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001241/0.009596, allocations: 111.2 kB / 0.9555 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.009746, allocations: 39.92 kB / 0.9555 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009747, allocations: 0 / 0.9555 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.009795, allocations: 16 kB / 0.9555 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.009954, allocations: 10.33 kB / 0.9555 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.0103, allocations: 137 kB / 0.9557 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.01038, allocations: 75.33 kB / 0.9558 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.0104, allocations: 4 kB / 0.9558 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.01044, allocations: 16.5 kB / 0.9558 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.01044, allocations: 3.938 kB / 0.9558 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.003316/0.01376, allocations: 0.5939 MB / 0.9564 GB, free: 5.738 MB / 0.8575 GB " [Timeout remaining time 300] 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: 8.024556159973145]