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.001947/0.001947, 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.002487/0.002487, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.516/1.516, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.903/2.903, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.623e-06/1.623e-06, allocations: 0.6562 kB / 0.8108 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.103e-05, allocations: 3.312 kB / 0.8108 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003306/0.003337, allocations: 1.489 MB / 0.8123 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.004441, allocations: 489.3 kB / 0.8127 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.004495, allocations: 0 / 0.8127 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.004534, allocations: 7.922 kB / 0.8127 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.004818, allocations: 26.23 kB / 0.8128 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 9.737e-05/0.004915, allocations: 23.91 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.005026, allocations: 55.78 kB / 0.8128 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.005122, allocations: 11.98 kB / 0.8129 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.005323, allocations: 32.95 kB / 0.8129 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.005407, allocations: 23.95 kB / 0.8129 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.005429, allocations: 4 kB / 0.8129 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.005442, allocations: 4.781 kB / 0.8129 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.005466, allocations: 11.92 kB / 0.8129 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.005513, allocations: 13.69 kB / 0.8129 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.005647, allocations: 55.78 kB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005649, allocations: 0 / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.142e-06/0.00565, allocations: 0 / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.005655, allocations: 0 / 0.813 GB, free: 14.72 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.0006486/0.006304, allocations: 291.6 kB / 0.8133 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.006345, allocations: 8.031 kB / 0.8133 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.006405, allocations: 12.88 kB / 0.8133 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.006568, allocations: 111.5 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.006588, allocations: 4.375 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.006606, allocations: 8.375 kB / 0.8134 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006743, allocations: 50.23 kB / 0.8135 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.006754, allocations: 5.344 kB / 0.8135 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.006765, allocations: 384 / 0.8135 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.006772, allocations: 3.938 kB / 0.8135 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.006851, allocations: 33.45 kB / 0.8135 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.007337, allocations: 220.5 kB / 0.8137 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.007474, allocations: 42.56 kB / 0.8138 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.95e-05/0.007544, allocations: 27.58 kB / 0.8138 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.007557, allocations: 0 / 0.8138 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.007765, allocations: 71.27 kB / 0.8138 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.007766, allocations: 0 / 0.8138 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0002774/0.008043, allocations: 85.67 kB / 0.8139 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.008097, allocations: 55.41 kB / 0.814 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.008216, allocations: 113.8 kB / 0.8141 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.00824, allocations: 30.42 kB / 0.8141 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.008324, allocations: 92.06 kB / 0.8142 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.008353, allocations: 16.44 kB / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.008397, allocations: 19.38 kB / 0.8142 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.008579, allocations: 326.8 kB / 0.8146 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-05/0.008623, allocations: 12 kB / 0.8146 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.00866, allocations: 19.92 kB / 0.8146 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.919e-05/0.00874, allocations: 36.92 kB / 0.8146 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008741, allocations: 0.5 kB / 0.8146 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001552/0.008896, allocations: 86.14 kB / 0.8147 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.008911, allocations: 4 kB / 0.8147 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.008916, allocations: 0.8125 kB / 0.8147 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.008933, allocations: 0 / 0.8147 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.009019, allocations: 17.08 kB / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.009024, allocations: 0 / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.009089, allocations: 4 kB / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.009097, allocations: 1.625 kB / 0.8147 GB, free: 12.79 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.0001087/0.009206, allocations: 117.8 kB / 0.8148 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.009229, allocations: 12.39 kB / 0.8149 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.009254, allocations: 12.42 kB / 0.8149 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.00926, allocations: 9.031 kB / 0.8149 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.009264, allocations: 0 / 0.8149 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.009266, allocations: 0 / 0.8149 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.009412, allocations: 118.2 kB / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009413, allocations: 0 / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.009443, allocations: 4.844 kB / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.009448, allocations: 3.938 kB / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.009455, allocations: 6.188 kB / 0.815 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009457, allocations: 0 / 0.815 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.00946, allocations: 3.984 kB / 0.815 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.009634, allocations: 101.1 kB / 0.8151 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.009649, allocations: 3.953 kB / 0.8151 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.009673, allocations: 7.938 kB / 0.8151 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.929e-05/0.009733, allocations: 6.672 kB / 0.8151 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.009777, allocations: 7.984 kB / 0.8151 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.009784, allocations: 4 kB / 0.8151 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.765e-05/0.009852, allocations: 87.28 kB / 0.8152 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009852, allocations: 0 / 0.8152 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001976/0.01005, allocations: 8 kB / 0.8152 GB, free: 12.23 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.0001361/0.01019, allocations: 104.8 kB / 0.8153 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.01036, allocations: 47.86 kB / 0.8154 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01036, allocations: 0 / 0.8154 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-05/0.01041, allocations: 16 kB / 0.8154 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.01059, allocations: 4.5 kB / 0.8154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/0.01125, allocations: 152.9 kB / 0.8155 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.831e-05/0.01133, allocations: 68.69 kB / 0.8156 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.01137, allocations: 11.92 kB / 0.8156 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.0114, allocations: 9.406 kB / 0.8156 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of SimCode: time 6.82e-07/0.01141, allocations: 4 kB / 0.8156 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.003489/0.01489, allocations: 0.6134 MB / 0.8162 GB, free: 11.19 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] 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: 7.8485944491112605]