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.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.001454/0.001454, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001405/0.001405, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.465/1.465, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.867/2.867, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.002026/0.002026, allocations: 67.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 168.7 MB / 1.274 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003042/1.041, allocations: 1.496 MB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009477/1.041, allocations: 484.4 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/1.042, allocations: 4 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/1.042, allocations: 3.938 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002574/1.042, allocations: 23.84 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.342e-05/1.042, allocations: 11.98 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/1.042, allocations: 59.73 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/1.042, allocations: 11.98 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/1.042, allocations: 19.92 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/1.042, allocations: 27.84 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/1.042, allocations: 4 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/1.042, allocations: 4 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/1.042, allocations: 11.98 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/1.042, allocations: 19.88 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/1.043, allocations: 51.59 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.043, allocations: 0 / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.304e-06/1.043, allocations: 0 / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.235e-05/1.043, allocations: 4 kB / 1.276 GB, free: 2.285 MB / 0.9669 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.0006863/1.043, allocations: 358.2 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.043, allocations: 8.031 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/1.043, allocations: 8.891 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/1.044, allocations: 172.3 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/1.044, allocations: 384 / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/1.044, allocations: 4.375 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/1.044, allocations: 53.94 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.044, allocations: 4 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/1.044, allocations: 0 / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/1.044, allocations: 0 / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/1.044, allocations: 23.98 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/1.044, allocations: 272.9 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/1.044, allocations: 42.5 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/1.044, allocations: 20.94 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/1.044, allocations: 8 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/1.045, allocations: 63.39 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/1.045, allocations: 0 / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.000249/1.045, allocations: 73.69 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/1.045, allocations: 55.34 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.045, allocations: 109.8 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/1.045, allocations: 29.7 kB / 1.277 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/1.045, allocations: 92.12 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/1.045, allocations: 15.89 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/1.045, allocations: 21.66 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.045, allocations: 322.8 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.208e-05/1.045, allocations: 8.25 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/1.045, allocations: 16 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/1.045, allocations: 32.84 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.045, allocations: 0 / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001129/1.046, allocations: 77.58 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.046, allocations: 4 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/1.046, allocations: 0 / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.046, allocations: 0 / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/1.046, allocations: 8 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.046, allocations: 0 / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/1.046, allocations: 11.92 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/1.046, allocations: 0 / 1.278 GB, free: 188 kB / 0.9669 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 0.000127/1.046, allocations: 121.7 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/1.046, allocations: 7.953 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/1.046, allocations: 11.95 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.046, allocations: 0 / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/1.046, allocations: 0 / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.046, allocations: 0 / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/1.046, allocations: 173.6 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.046, allocations: 4 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/1.046, allocations: 8 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.046, allocations: 0 / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.046, allocations: 0 / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.046, allocations: 0 / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.046, allocations: 8.125 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/1.046, allocations: 97.05 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/1.046, allocations: 89.06 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.046, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/1.046, allocations: 7.984 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/1.047, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/1.047, allocations: 4 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.015e-05/1.047, allocations: 91.27 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/1.047, allocations: 4 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000191/1.047, allocations: 12 kB / 1.279 GB, free: 15.46 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.0001509/1.047, allocations: 105.3 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001376/1.047, allocations: 35.86 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.047, allocations: 0 / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/1.047, allocations: 16 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/1.047, allocations: 7.984 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/1.048, allocations: 142 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/1.048, allocations: 0.6845 MB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.265e-05/1.048, allocations: 7.984 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/1.048, allocations: 7.438 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/1.048, allocations: 0 / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of Templates: time 0.003257/1.051, allocations: 0.5682 MB / 1.28 GB, free: 13.84 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 -s cvode -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_2/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: 9.136170260142535]