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.001031/0.001031, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001375/0.001375, allocations: 185.3 kB / 24.09 MB, free: 416 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.055/1.055, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.944/1.944, allocations: 377.9 MB / 0.624 GB, free: 8.426 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.903e-06/1.903e-06, allocations: 0.6562 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.857e-05, allocations: 6.312 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002248/0.002276, allocations: 1.538 MB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0006983/0.002975, allocations: 484.3 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.003021, allocations: 0 / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.003052, allocations: 4.469 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.003289, allocations: 37.42 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 6.75e-05/0.003356, allocations: 11.92 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.9e-05/0.003435, allocations: 67.7 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.003525, allocations: 8.656 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.003699, allocations: 41.02 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.003771, allocations: 23.91 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.003787, allocations: 4 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.003797, allocations: 5.156 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.003815, allocations: 8 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.003848, allocations: 19.91 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.003941, allocations: 33.34 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003944, allocations: 0 / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.743e-06/0.003945, allocations: 0 / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.00395, allocations: 3.938 kB / 0.8142 GB, free: 15.19 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.0004216/0.004372, allocations: 390.2 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.004411, allocations: 8.031 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.004444, allocations: 8.891 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.314e-05/0.004538, allocations: 116.5 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.004556, allocations: 13.61 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.004565, allocations: 4.375 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.443e-05/0.00466, allocations: 50.95 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.004669, allocations: 2.562 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.004678, allocations: 4.375 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.004687, allocations: 3.938 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.061e-05/0.004717, allocations: 15.92 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.005253, allocations: 256.5 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.005349, allocations: 47.05 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.005369, allocations: 13.62 kB / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.005382, allocations: 7.984 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.0055, allocations: 73.05 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.005503, allocations: 0 / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001609/0.005663, allocations: 66.14 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.005697, allocations: 53.31 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.00577, allocations: 177.9 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.00578, allocations: 25.7 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.005828, allocations: 134.9 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.00585, allocations: 11.91 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.005884, allocations: 35.34 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.006003, allocations: 498.6 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.00602, allocations: 7.984 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.006036, allocations: 16.23 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.006076, allocations: 23.69 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006078, allocations: 0 / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.478e-05/0.006152, allocations: 61.64 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.006167, allocations: 11.31 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.006173, allocations: 3.984 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.006185, allocations: 5.156 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.00625, allocations: 11.94 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.006253, allocations: 0 / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.006287, allocations: 16.53 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.006293, allocations: 0 / 0.8163 GB, free: 12.87 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.125e-05/0.006364, allocations: 165.2 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.006376, allocations: 12.98 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.006399, allocations: 8.438 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006401, allocations: 1.875 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.006405, allocations: 4 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.006408, allocations: 0 / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.057e-05/0.006488, allocations: 105.2 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00649, allocations: 0 / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.006505, allocations: 4.75 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.006508, allocations: 4 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.006512, allocations: 1.125 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006514, allocations: 3.938 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.006516, allocations: 3.984 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.006616, allocations: 109.4 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.006625, allocations: 0 / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.00664, allocations: 4 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.006665, allocations: 8.953 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.006692, allocations: 11.98 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.006697, allocations: 3.984 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.006742, allocations: 124.1 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006742, allocations: 4 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001211/0.006863, allocations: 9.75 kB / 0.8169 GB, free: 12.24 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 9.515e-05/0.006958, allocations: 103.2 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.978e-05/0.007038, allocations: 35.61 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.00704, allocations: 1.344 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.007067, allocations: 19.69 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.007178, allocations: 11.97 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.007674, allocations: 159.5 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.371e-05/0.007718, allocations: 59.34 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.007745, allocations: 7.656 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.007793, allocations: 70.2 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.007793, allocations: 0 / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of Templates: time 0.002339/0.01013, allocations: 0.661 MB / 0.818 GB, free: 11.08 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.221352111082524]