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.001667/0.001667, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001991/0.001991, allocations: 219.9 kB / 22.99 MB, free: 4.914 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.761/2.761, allocations: 476 MB / 0.7707 GB, free: 4.77 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.002131/0.002131, allocations: 64.31 kB / 1.118 GB, free: 40.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3264, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002912/0.3294, allocations: 1.493 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009553/0.3303, allocations: 472.7 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.3304, allocations: 3.938 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.3304, allocations: 3.938 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.3306, allocations: 35.78 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.59e-05/0.3307, allocations: 15.92 kB / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.621e-05/0.3308, allocations: 43.86 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.3309, allocations: 15.92 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3311, allocations: 31.84 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.3312, allocations: 19.92 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3312, allocations: 4 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.3312, allocations: 4 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.3312, allocations: 11.98 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.3313, allocations: 19.86 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3314, allocations: 39.88 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3314, allocations: 4 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.624e-06/0.3314, allocations: 0 / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.3314, allocations: 3.938 kB / 1.286 GB, free: 9.734 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.0005437/0.3319, allocations: 278.2 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.332, allocations: 8.031 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.332, allocations: 8.891 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3321, allocations: 114.5 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3322, allocations: 8.375 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.3322, allocations: 384 / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3323, allocations: 62 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3323, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3323, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3323, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.065e-05/0.3324, allocations: 23.92 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.3327, allocations: 208.6 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3328, allocations: 46.5 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.3329, allocations: 24.94 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3329, allocations: 0 / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.333, allocations: 63.33 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.333, allocations: 4 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002172/0.3333, allocations: 85.64 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3333, allocations: 55.39 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.3334, allocations: 105.9 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3334, allocations: 29.69 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.3335, allocations: 88.14 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.3335, allocations: 11.91 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.3335, allocations: 13.72 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3337, allocations: 326.8 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.3337, allocations: 8 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.3338, allocations: 23.86 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/0.3338, allocations: 40.8 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3338, allocations: 0 / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001079/0.3339, allocations: 61.69 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3339, allocations: 4 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3339, allocations: 0 / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.334, allocations: 4 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.334, allocations: 4 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.334, allocations: 448 / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.3341, allocations: 11.94 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3341, allocations: 0 / 1.288 GB, free: 7.871 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.27e-05/0.3342, allocations: 125.7 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.3342, allocations: 8 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.3342, allocations: 4.062 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3342, allocations: 0 / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3342, allocations: 0 / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3342, allocations: 7.969 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.3344, allocations: 125.2 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3344, allocations: 0 / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.3344, allocations: 4 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3344, allocations: 0 / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.3344, allocations: 4 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3344, allocations: 0 / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3344, allocations: 0 / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.3346, allocations: 108.9 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.3346, allocations: 0 / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3346, allocations: 4 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.3346, allocations: 0 / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.3347, allocations: 11.98 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3347, allocations: 0 / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.3347, allocations: 91.27 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3347, allocations: 0 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001825/0.3349, allocations: 12 kB / 1.288 GB, free: 7.312 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.0001047/0.335, allocations: 99.25 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.3352, allocations: 35.92 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3352, allocations: 4 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.3352, allocations: 15.94 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.3353, allocations: 9.656 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.3357, allocations: 166.5 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.439e-05/0.3357, allocations: 71.3 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.3358, allocations: 15.42 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3358, allocations: 3.938 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of Templates: time 0.002255/0.338, allocations: 0.7607 MB / 1.289 GB, free: 6.094 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: 10.770559803582728]