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.000857/0.000857, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009793/0.0009793, allocations: 165 kB / 23.82 MB, free: 0.7461 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 0.9481/0.9481, allocations: 177.2 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.86/1.86, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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 3.006e-06/3.006e-06, allocations: 3.984 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.855e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.005587/0.005615, allocations: 1.535 MB / 0.8131 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008353/0.006451, allocations: 489.4 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.006499, allocations: 4 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.00653, allocations: 0 / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.006776, allocations: 28.59 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 8.741e-05/0.006863, allocations: 21.06 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.006956, allocations: 59.78 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.007044, allocations: 0 / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.007242, allocations: 53.33 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.007316, allocations: 15.97 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.007333, allocations: 4 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.007345, allocations: 8 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.007364, allocations: 13.45 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.007405, allocations: 19.98 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.954e-05/0.007494, allocations: 35.83 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.007498, allocations: 0 / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.007499, allocations: 1.75 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.007503, allocations: 0 / 0.8138 GB, free: 15.45 MB / 0.7761 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.003536/0.01104, allocations: 380.5 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.01109, allocations: 12.03 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.01113, allocations: 10.17 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.01124, allocations: 124.5 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.01125, allocations: 8.375 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.01126, allocations: 384 / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.01137, allocations: 63.61 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.01138, allocations: 192 / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.01139, allocations: 4.891 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.0114, allocations: 6 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.01143, allocations: 8 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.0118, allocations: 271.8 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.0119, allocations: 50.98 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.01194, allocations: 24.33 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.01195, allocations: 4 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.01206, allocations: 69.7 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.01206, allocations: 5.438 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.000184/0.01224, allocations: 81.56 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.01228, allocations: 51.41 kB / 0.8149 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.01237, allocations: 173.9 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.01239, allocations: 30.33 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.01244, allocations: 130.9 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.01246, allocations: 20.95 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.0125, allocations: 27.38 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.01263, allocations: 0.4884 MB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.01266, allocations: 8.75 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.01268, allocations: 8 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/0.01274, allocations: 32.3 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01274, allocations: 1.312 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000104/0.01284, allocations: 77.52 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01286, allocations: 4 kB / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01286, allocations: 0 / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01288, allocations: 0.8125 kB / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.01294, allocations: 15.98 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.01295, allocations: 1.188 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.01298, allocations: 3.938 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.01299, allocations: 13.28 kB / 0.8159 GB, free: 13.07 MB / 0.7761 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 7.34e-05/0.01307, allocations: 152.6 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.01308, allocations: 11.89 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.0131, allocations: 17.39 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.0131, allocations: 0 / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01311, allocations: 2.312 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01311, allocations: 3.938 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.511e-05/0.0132, allocations: 124.6 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.0132, allocations: 0 / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.01322, allocations: 8 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.01322, allocations: 7.938 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.01323, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01323, allocations: 3.438 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01323, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.01335, allocations: 108.4 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.01336, allocations: 4 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.01338, allocations: 11.88 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.518e-05/0.0134, allocations: 3.984 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.01343, allocations: 4 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.01344, allocations: 0 / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.01349, allocations: 139.1 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01349, allocations: 0.875 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003201/0.01669, allocations: 12 kB / 0.8165 GB, free: 12.41 MB / 0.7761 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.0001058/0.01679, allocations: 96.31 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.01691, allocations: 43.66 kB / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01691, allocations: 0.5625 kB / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.01695, allocations: 24.84 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.0171, allocations: 15.92 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.01772, allocations: 156.6 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.527e-05/0.01776, allocations: 60.44 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.174e-05/0.01778, allocations: 4 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.01781, allocations: 13.09 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of SimCode: time 5e-07/0.01781, allocations: 0 / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of Templates: time 0.005473/0.02328, allocations: 0.6314 MB / 0.8175 GB, free: 11.34 MB / 0.7761 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","",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.9357862253673375]