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.001014/0.001014, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001026/0.001026, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.92/1.92, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.963e-06/1.963e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.036e-05, allocations: 3.562 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003061/0.003091, allocations: 1.534 MB / 0.813 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008841/0.003975, allocations: 485.1 kB / 0.8135 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.004029, allocations: 0 / 0.8135 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.004059, allocations: 8.828 kB / 0.8135 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.004316, allocations: 32.5 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.858e-05/0.004405, allocations: 19.97 kB / 0.8136 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.004524, allocations: 53.56 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.004615, allocations: 7.984 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.004806, allocations: 47.75 kB / 0.8137 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.004884, allocations: 15.98 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.004905, allocations: 5.531 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.004917, allocations: 4 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.004943, allocations: 15.92 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.004989, allocations: 15.98 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.62e-05/0.005085, allocations: 36.98 kB / 0.8138 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.005089, allocations: 0 / 0.8138 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.583e-06/0.00509, allocations: 0 / 0.8138 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.005095, allocations: 0 / 0.8138 GB, free: 15.81 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.0005423/0.005638, allocations: 381.9 kB / 0.8141 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.005682, allocations: 12.03 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.005743, allocations: 10.64 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.005973, allocations: 128.5 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.005993, allocations: 384 / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.00601, allocations: 4.375 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.006138, allocations: 62.94 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.006147, allocations: 4.875 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.006159, allocations: 384 / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.00617, allocations: 4.719 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.006218, allocations: 12 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.006642, allocations: 276.2 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.006756, allocations: 43.62 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.006798, allocations: 29.11 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.006805, allocations: 0 / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.006935, allocations: 76.92 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.006937, allocations: 2.562 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002111/0.007148, allocations: 77.62 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.007194, allocations: 55.34 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.007303, allocations: 177.9 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.007315, allocations: 25.7 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.007364, allocations: 130.9 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.007386, allocations: 19.95 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.007431, allocations: 27.91 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.007572, allocations: 0.4884 MB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/0.007604, allocations: 8.719 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.007636, allocations: 11.98 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.007696, allocations: 28.22 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.007698, allocations: 1.656 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000114/0.007812, allocations: 73.77 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.007826, allocations: 8 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007832, allocations: 0 / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.007847, allocations: 4.531 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.007924, allocations: 11.98 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.007934, allocations: 4.594 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.00798, allocations: 8.719 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.007989, allocations: 4 kB / 0.8159 GB, free: 13.43 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 8.849e-05/0.008077, allocations: 157.3 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.008094, allocations: 12.95 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.008115, allocations: 8.422 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008117, allocations: 4 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.008122, allocations: 1.094 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.008127, allocations: 0 / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.008245, allocations: 128.6 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008246, allocations: 0.8438 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.008264, allocations: 4 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.008267, allocations: 10.09 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.008277, allocations: 4 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008279, allocations: 0 / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.00828, allocations: 0 / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.008422, allocations: 104.4 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.008437, allocations: 11.94 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.008464, allocations: 6.719 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.008501, allocations: 3.984 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.008546, allocations: 4 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.008552, allocations: 3.984 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.102e-05/0.008613, allocations: 131.2 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008613, allocations: 0 / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002275/0.008841, allocations: 8 kB / 0.8165 GB, free: 12.78 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.0001422/0.008983, allocations: 112.8 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.009109, allocations: 35.67 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.009111, allocations: 0 / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.009153, allocations: 24.31 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.009328, allocations: 11.98 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007698/0.0101, allocations: 164.5 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.129e-05/0.01014, allocations: 59.34 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.01017, allocations: 0 / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.0102, allocations: 13.84 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of SimCode: time 1.293e-06/0.01021, allocations: 0 / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.002755/0.01296, allocations: 0.6183 MB / 0.8175 GB, free: 11.73 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: 5.106946042040363]