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.001433/0.001433, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001653/0.001653, allocations: 165.7 kB / 23.55 MB, free: 0.8828 MB / 18.57 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.465/1.465, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.73/2.73, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 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.713e-06/1.713e-06, allocations: 3.938 kB / 0.7864 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.989e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003071/0.003101, allocations: 1.492 MB / 0.7878 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.004081, allocations: 481.2 kB / 0.7883 GB, free: 9.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.004121, allocations: 0 / 0.7883 GB, free: 9.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.004152, allocations: 4.562 kB / 0.7883 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.004404, allocations: 28.95 kB / 0.7883 GB, free: 9.738 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.818e-05/0.004482, allocations: 19.97 kB / 0.7883 GB, free: 9.719 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.004588, allocations: 56.53 kB / 0.7884 GB, free: 9.664 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.004678, allocations: 8 kB / 0.7884 GB, free: 9.656 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.004863, allocations: 40.8 kB / 0.7884 GB, free: 9.617 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.004945, allocations: 15.98 kB / 0.7885 GB, free: 9.602 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.004965, allocations: 5.031 kB / 0.7885 GB, free: 9.598 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.004978, allocations: 4 kB / 0.7885 GB, free: 9.594 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.005002, allocations: 15.91 kB / 0.7885 GB, free: 9.578 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.005054, allocations: 20.67 kB / 0.7885 GB, free: 9.559 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.00517, allocations: 51.75 kB / 0.7886 GB, free: 9.508 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005173, allocations: 2.656 kB / 0.7886 GB, free: 9.508 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.01e-07/0.005173, allocations: 0 / 0.7886 GB, free: 9.508 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.005177, allocations: 0 / 0.7886 GB, free: 9.508 MB / 0.698 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.0006221/0.005799, allocations: 290.1 kB / 0.7888 GB, free: 9.195 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.005838, allocations: 8.031 kB / 0.7888 GB, free: 9.188 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.005895, allocations: 12.89 kB / 0.7889 GB, free: 9.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.006036, allocations: 107.4 kB / 0.789 GB, free: 9.047 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.006057, allocations: 8.359 kB / 0.789 GB, free: 9.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.006074, allocations: 8.375 kB / 0.789 GB, free: 9.031 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.006204, allocations: 50.25 kB / 0.789 GB, free: 8.977 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.006211, allocations: 0.7812 kB / 0.789 GB, free: 8.977 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.006221, allocations: 0.9688 kB / 0.789 GB, free: 8.977 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.006228, allocations: 3.938 kB / 0.789 GB, free: 8.973 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.006297, allocations: 24.55 kB / 0.789 GB, free: 8.949 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.006774, allocations: 221.3 kB / 0.7893 GB, free: 8.703 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.006914, allocations: 46.56 kB / 0.7893 GB, free: 8.648 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.00697, allocations: 26.06 kB / 0.7893 GB, free: 8.621 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.006983, allocations: 0 / 0.7893 GB, free: 8.621 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.007201, allocations: 72.64 kB / 0.7894 GB, free: 8.539 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 3.777e-06/0.007204, allocations: 3.984 kB / 0.7894 GB, free: 8.535 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0002554/0.00746, allocations: 81.69 kB / 0.7895 GB, free: 8.449 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.007524, allocations: 63.39 kB / 0.7895 GB, free: 8.375 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.00765, allocations: 119.6 kB / 0.7897 GB, free: 8.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.007677, allocations: 29.7 kB / 0.7897 GB, free: 8.215 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.007744, allocations: 88.11 kB / 0.7898 GB, free: 8.125 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.007775, allocations: 23.83 kB / 0.7898 GB, free: 8.102 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.007822, allocations: 21.7 kB / 0.7898 GB, free: 8.074 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.008003, allocations: 320.4 kB / 0.7901 GB, free: 7.754 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.008044, allocations: 15.98 kB / 0.7901 GB, free: 7.738 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.008076, allocations: 12 kB / 0.7901 GB, free: 7.727 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.844e-05/0.008165, allocations: 32.86 kB / 0.7902 GB, free: 7.691 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.008166, allocations: 0.5312 kB / 0.7902 GB, free: 7.691 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001447/0.008311, allocations: 87.48 kB / 0.7903 GB, free: 7.602 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.008331, allocations: 7.984 kB / 0.7903 GB, free: 7.594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.008335, allocations: 0 / 0.7903 GB, free: 7.594 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.008352, allocations: 3.938 kB / 0.7903 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.008429, allocations: 8.25 kB / 0.7903 GB, free: 7.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.008434, allocations: 2.562 kB / 0.7903 GB, free: 7.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.0085, allocations: 8 kB / 0.7903 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.008511, allocations: 4 kB / 0.7903 GB, free: 7.57 MB / 0.698 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 0.0001056/0.008617, allocations: 113.8 kB / 0.7904 GB, free: 7.449 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.008639, allocations: 11.94 kB / 0.7904 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.008662, allocations: 8.438 kB / 0.7904 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.008664, allocations: 0.5312 kB / 0.7904 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.008668, allocations: 0.7188 kB / 0.7904 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.00867, allocations: 0 / 0.7904 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.008812, allocations: 125.7 kB / 0.7905 GB, free: 7.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008813, allocations: 0 / 0.7905 GB, free: 7.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.008845, allocations: 9.609 kB / 0.7905 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-06/0.008852, allocations: 7.938 kB / 0.7906 GB, free: 7.262 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.008859, allocations: 0 / 0.7906 GB, free: 7.262 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.008863, allocations: 3.938 kB / 0.7906 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008864, allocations: 1 kB / 0.7906 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.00904, allocations: 97.12 kB / 0.7907 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.009058, allocations: 7.938 kB / 0.7907 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.00908, allocations: 8.625 kB / 0.7907 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.009137, allocations: 1.031 kB / 0.7907 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.009184, allocations: 11.98 kB / 0.7907 GB, free: 7.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.009189, allocations: 0 / 0.7907 GB, free: 7.117 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.009266, allocations: 92.11 kB / 0.7908 GB, free: 7.027 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.009266, allocations: 0 / 0.7908 GB, free: 7.027 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001965/0.009462, allocations: 13.47 kB / 0.7908 GB, free: 7.016 MB / 0.698 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.0001336/0.009596, allocations: 103.2 kB / 0.7909 GB, free: 6.906 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.009728, allocations: 39.92 kB / 0.7909 GB, free: 6.867 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009729, allocations: 1 kB / 0.7909 GB, free: 6.867 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.483e-05/0.009784, allocations: 19.98 kB / 0.7909 GB, free: 6.848 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.009953, allocations: 12.44 kB / 0.7909 GB, free: 6.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.01032, allocations: 152.5 kB / 0.7911 GB, free: 6.664 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.643e-05/0.0104, allocations: 63.34 kB / 0.7912 GB, free: 6.582 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.01043, allocations: 4 kB / 0.7912 GB, free: 6.578 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.01047, allocations: 18.78 kB / 0.7912 GB, free: 6.562 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.01047, allocations: 0 / 0.7912 GB, free: 6.562 MB / 0.698 GB Notification: Performance of Templates: time 0.003249/0.01372, allocations: 0.6091 MB / 0.7918 GB, free: 5.988 MB / 0.698 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: 7.522475913981907]