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.0008581/0.0008581, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.00191, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007051/0.0007051, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008959/0.001601, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9707/0.9707, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09589/1.067, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.828/1.828, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5005/2.329, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.191e-05, allocations: 7.234 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001743/0.001755, allocations: 1.585 MB / 0.7309 GB, free: 2.926 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005586/0.002314, allocations: 0.4897 MB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.002346, allocations: 1 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.00237, allocations: 0 / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.002488, allocations: 28.86 kB / 0.7314 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.541e-05/0.002544, allocations: 12.58 kB / 0.7314 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.002625, allocations: 60.78 kB / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.038e-05/0.002695, allocations: 16.78 kB / 0.7315 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.002839, allocations: 43.91 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.002911, allocations: 29.28 kB / 0.7316 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.002927, allocations: 4 kB / 0.7316 GB, free: 2.266 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.002939, allocations: 8 kB / 0.7316 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.002953, allocations: 4.656 kB / 0.7316 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.002986, allocations: 15.94 kB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.905e-05/0.003065, allocations: 36.53 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.645e-05/0.003081, allocations: 0 / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003082, allocations: 0.5 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.0031, allocations: 1.781 kB / 0.7316 GB, free: 2.203 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.0004206/0.00352, allocations: 260.5 kB / 0.7319 GB, free: 1.926 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.00355, allocations: 8.031 kB / 0.7319 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.003575, allocations: 4.938 kB / 0.7319 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.203e-05/0.003657, allocations: 114.5 kB / 0.732 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.003669, allocations: 4.375 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.00368, allocations: 8.938 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.115e-05/0.003761, allocations: 62.86 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.003769, allocations: 1.406 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.003777, allocations: 384 / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.003783, allocations: 3.938 kB / 0.7321 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.00381, allocations: 16.86 kB / 0.7321 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.004049, allocations: 160.3 kB / 0.7322 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.113e-05/0.00412, allocations: 47.45 kB / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.004138, allocations: 8.859 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.004146, allocations: 8.547 kB / 0.7323 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.233e-05/0.004238, allocations: 61.14 kB / 0.7324 GB, free: 1.359 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.004239, allocations: 0 / 0.7324 GB, free: 1.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001056/0.004345, allocations: 57.56 kB / 0.7324 GB, free: 1.297 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.004384, allocations: 55.41 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/0.00444, allocations: 115.9 kB / 0.7326 GB, free: 1.105 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.004452, allocations: 25.7 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.004483, allocations: 96.06 kB / 0.7327 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.004503, allocations: 16.66 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.004534, allocations: 21.7 kB / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.004611, allocations: 318.8 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.004622, allocations: 8.969 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/0.004632, allocations: 4 kB / 0.7331 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.004667, allocations: 29.34 kB / 0.7331 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004669, allocations: 0 / 0.7331 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.121e-05/0.00472, allocations: 54.56 kB / 0.7331 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.004731, allocations: 11.94 kB / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.004736, allocations: 1.781 kB / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.004745, allocations: 3.938 kB / 0.7331 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.004803, allocations: 15.98 kB / 0.7332 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.004806, allocations: 0 / 0.7332 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.004832, allocations: 4 kB / 0.7332 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.004839, allocations: 5.219 kB / 0.7332 GB, free: 484 kB / 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 5.227e-05/0.004891, allocations: 109.8 kB / 0.7333 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.004898, allocations: 6.047 kB / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.00492, allocations: 16.38 kB / 0.7333 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.004923, allocations: 3.984 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.004924, allocations: 0 / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.004928, allocations: 0 / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.02e-05/0.004988, allocations: 73.88 kB / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.004989, allocations: 0.8125 kB / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.005002, allocations: 11.94 kB / 0.7334 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.00501, allocations: 4.609 kB / 0.7334 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005012, allocations: 0 / 0.7334 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.005018, allocations: 9.875 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005019, allocations: 256 / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.00502, allocations: 3.984 kB / 0.7334 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.671e-05/0.005077, allocations: 77.12 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.005088, allocations: 0 / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.005106, allocations: 1.281 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.005132, allocations: 15.92 kB / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.005135, allocations: 0 / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.653e-05/0.005151, allocations: 22.41 kB / 0.7335 GB, free: 80 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.005151, allocations: 0 / 0.7335 GB, free: 80 kB / 0.698 GB Notification: Performance of remove unused functions: time 9.648e-05/0.005248, allocations: 8 kB / 0.7335 GB, free: 72 kB / 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 7.884e-05/0.005327, allocations: 89.02 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.005395, allocations: 25.67 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.0054, allocations: 5.031 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.005421, allocations: 16.8 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.512e-05/0.005487, allocations: 20.61 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/0.00644, allocations: 170.4 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.909e-05/0.006469, allocations: 55.36 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.789e-05/0.006487, allocations: 3.984 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.006524, allocations: 58.12 kB / 0.7339 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/0.006525, allocations: 0 / 0.7339 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of Templates: time 0.002054/0.008579, allocations: 0.6407 MB / 0.7346 GB, free: 14.98 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.99330208171159]