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.001946/0.001946, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002155/0.002155, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.067/3.067, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.373e-06/1.373e-06, allocations: 0 / 0.8108 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.547e-05, allocations: 8.781 kB / 0.8108 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002873/0.002909, allocations: 1.507 MB / 0.8123 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000963/0.003872, allocations: 498.2 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.003912, allocations: 1.406 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.003936, allocations: 3.938 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.004181, allocations: 33.34 kB / 0.8128 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 6.981e-05/0.004251, allocations: 7.984 kB / 0.8128 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.004356, allocations: 59.78 kB / 0.8129 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.004441, allocations: 8 kB / 0.8129 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.004638, allocations: 44.48 kB / 0.8129 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.00472, allocations: 20.45 kB / 0.8129 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.004739, allocations: 4 kB / 0.8129 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.004754, allocations: 5.094 kB / 0.8129 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.004779, allocations: 15.97 kB / 0.813 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.004825, allocations: 15.92 kB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.004935, allocations: 48.52 kB / 0.813 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004937, allocations: 0 / 0.813 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004938, allocations: 6.406 kB / 0.813 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.004942, allocations: 0 / 0.813 GB, free: 14.67 MB / 0.7292 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.0006526/0.005594, allocations: 388.1 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.00563, allocations: 8.031 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.005682, allocations: 12.89 kB / 0.8134 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.005827, allocations: 117.5 kB / 0.8135 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.005843, allocations: 384 / 0.8135 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.005862, allocations: 8.375 kB / 0.8135 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.005995, allocations: 51.27 kB / 0.8136 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.006005, allocations: 192 / 0.8136 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.006018, allocations: 5.719 kB / 0.8136 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.006024, allocations: 3.938 kB / 0.8136 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.235e-05/0.006096, allocations: 27.91 kB / 0.8136 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.00658, allocations: 287.7 kB / 0.8139 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.006724, allocations: 56.98 kB / 0.8139 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.006956, allocations: 27.81 kB / 0.814 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.00697, allocations: 0 / 0.814 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.00713, allocations: 80.97 kB / 0.8141 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.007131, allocations: 1.688 kB / 0.8141 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0002429/0.007374, allocations: 85.62 kB / 0.8141 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.007427, allocations: 59.41 kB / 0.8142 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.007577, allocations: 177.9 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.0076, allocations: 26.61 kB / 0.8144 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.233e-05/0.007692, allocations: 142.8 kB / 0.8145 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.007719, allocations: 15.91 kB / 0.8145 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.007768, allocations: 23.91 kB / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002914/0.00806, allocations: 0.4928 MB / 0.815 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.206e-05/0.008102, allocations: 12.53 kB / 0.8151 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.066e-05/0.008142, allocations: 19.98 kB / 0.8151 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/0.008226, allocations: 40.81 kB / 0.8151 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008227, allocations: 4 kB / 0.8151 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001433/0.008371, allocations: 77.58 kB / 0.8152 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.008388, allocations: 8.531 kB / 0.8152 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008392, allocations: 1.375 kB / 0.8152 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.008407, allocations: 3.984 kB / 0.8152 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.008495, allocations: 12 kB / 0.8152 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.008499, allocations: 0 / 0.8152 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.008554, allocations: 5.156 kB / 0.8152 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.008562, allocations: 0 / 0.8152 GB, free: 12.22 MB / 0.7292 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.0001277/0.008689, allocations: 169.5 kB / 0.8154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.00871, allocations: 11.89 kB / 0.8154 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.008739, allocations: 16.42 kB / 0.8154 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.00874, allocations: 0.8438 kB / 0.8154 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.008743, allocations: 0 / 0.8154 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.008745, allocations: 0.8438 kB / 0.8154 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.00889, allocations: 128.7 kB / 0.8155 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008891, allocations: 1.281 kB / 0.8155 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.008922, allocations: 11.94 kB / 0.8155 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.008929, allocations: 7.922 kB / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.008936, allocations: 0 / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008937, allocations: 0.8438 kB / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008938, allocations: 0 / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.009117, allocations: 105.8 kB / 0.8157 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.009136, allocations: 19.81 kB / 0.8157 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.009159, allocations: 7.938 kB / 0.8157 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.00921, allocations: 9.375 kB / 0.8157 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.009248, allocations: 3.984 kB / 0.8157 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.009256, allocations: 4 kB / 0.8157 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.493e-05/0.009351, allocations: 131.2 kB / 0.8158 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009351, allocations: 1.406 kB / 0.8158 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001873/0.009538, allocations: 15.98 kB / 0.8158 GB, free: 11.53 MB / 0.7292 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.0001338/0.009672, allocations: 104.2 kB / 0.8159 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.009831, allocations: 48.45 kB / 0.816 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.009835, allocations: 4 kB / 0.816 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.004e-05/0.009895, allocations: 31.61 kB / 0.816 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.01004, allocations: 2.062 kB / 0.816 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.01038, allocations: 158.1 kB / 0.8162 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.01045, allocations: 67.84 kB / 0.8162 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.01047, allocations: 5.344 kB / 0.8162 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.01051, allocations: 12.5 kB / 0.8163 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.01051, allocations: 0 / 0.8163 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.003418/0.01393, allocations: 0.6191 MB / 0.8169 GB, free: 10.46 MB / 0.7292 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.117664560908452]