Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009505/0.0009505, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.0009739/0.0009739, allocations: 165 kB / 23.27 MB, free: 1.219 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.9245/0.9245, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.303/2.303, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8897 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.435e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002267/0.002281, allocations: 1.547 MB / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007458/0.003027, allocations: 482.7 kB / 0.8917 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.00307, allocations: 0 / 0.8917 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.003099, allocations: 7.922 kB / 0.8917 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.003324, allocations: 27.84 kB / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 6.953e-05/0.003393, allocations: 23.92 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.058e-05/0.003474, allocations: 47.8 kB / 0.8918 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.715e-05/0.003561, allocations: 15.98 kB / 0.8918 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.003743, allocations: 43.83 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.003812, allocations: 19.92 kB / 0.8919 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.003827, allocations: 7.984 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-06/0.003837, allocations: 4 kB / 0.8919 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.003853, allocations: 11.98 kB / 0.8919 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.003882, allocations: 11.94 kB / 0.8919 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.126e-05/0.003953, allocations: 43.88 kB / 0.892 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003955, allocations: 7.938 kB / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.21e-07/0.003956, allocations: 0 / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003959, allocations: 0 / 0.892 GB, free: 7.402 MB / 0.8542 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.0003477/0.004307, allocations: 380.5 kB / 0.8923 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.004338, allocations: 8.625 kB / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.004365, allocations: 8.891 kB / 0.8924 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.647e-05/0.004431, allocations: 120.5 kB / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.004443, allocations: 4.375 kB / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.004451, allocations: 4.375 kB / 0.8925 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.043e-05/0.004521, allocations: 58.94 kB / 0.8925 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.004527, allocations: 4.188 kB / 0.8925 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.004533, allocations: 384 / 0.8925 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.004539, allocations: 11.88 kB / 0.8926 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.695e-05/0.004566, allocations: 11.92 kB / 0.8926 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.004817, allocations: 252.4 kB / 0.8928 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.359e-05/0.004891, allocations: 51.11 kB / 0.8929 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.00491, allocations: 15.67 kB / 0.8929 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.004917, allocations: 4 kB / 0.8929 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.972e-05/0.004996, allocations: 73.05 kB / 0.893 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.004998, allocations: 4 kB / 0.893 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.000123/0.005121, allocations: 69.67 kB / 0.893 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.00515, allocations: 59.41 kB / 0.8931 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.245e-05/0.005213, allocations: 165.9 kB / 0.8932 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.005222, allocations: 25.7 kB / 0.8933 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.005261, allocations: 138.8 kB / 0.8934 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.00528, allocations: 19.81 kB / 0.8934 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.005309, allocations: 27.38 kB / 0.8934 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.005409, allocations: 496.1 kB / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.005425, allocations: 15.92 kB / 0.8939 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.005435, allocations: 4 kB / 0.8939 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.005475, allocations: 35.66 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.005476, allocations: 0 / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.053e-05/0.005547, allocations: 62.11 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.005558, allocations: 7.938 kB / 0.894 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.005562, allocations: 4 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.005571, allocations: 0 / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/0.005623, allocations: 11.94 kB / 0.894 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.005626, allocations: 4.062 kB / 0.894 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.005656, allocations: 8 kB / 0.8941 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.005662, allocations: 7.969 kB / 0.8941 GB, free: 5.07 MB / 0.8542 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 6.038e-05/0.005722, allocations: 160.6 kB / 0.8942 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.005731, allocations: 7.938 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.005751, allocations: 8.438 kB / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005752, allocations: 0 / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005754, allocations: 0 / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.005758, allocations: 3.984 kB / 0.8942 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.472e-05/0.005823, allocations: 109.2 kB / 0.8943 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005824, allocations: 0 / 0.8943 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.005837, allocations: 15.92 kB / 0.8944 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.005838, allocations: 0 / 0.8944 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.005841, allocations: 0 / 0.8944 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.005843, allocations: 7.938 kB / 0.8944 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005844, allocations: 0 / 0.8944 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.838e-05/0.005922, allocations: 100.4 kB / 0.8945 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.005933, allocations: 8.25 kB / 0.8945 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.005946, allocations: 4 kB / 0.8945 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.005967, allocations: 7.938 kB / 0.8945 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.005993, allocations: 11.98 kB / 0.8945 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.005995, allocations: 0 / 0.8945 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.006035, allocations: 135.2 kB / 0.8946 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006035, allocations: 0 / 0.8946 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000115/0.00615, allocations: 8 kB / 0.8946 GB, free: 4.434 MB / 0.8542 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 6.582e-05/0.006216, allocations: 103.2 kB / 0.8947 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.142e-05/0.006288, allocations: 35.61 kB / 0.8948 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.006289, allocations: 0 / 0.8948 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.006317, allocations: 23.67 kB / 0.8948 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.00642, allocations: 4 kB / 0.8948 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.006859, allocations: 166 kB / 0.8949 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.018e-05/0.00689, allocations: 59.36 kB / 0.895 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.006911, allocations: 7.984 kB / 0.895 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.006953, allocations: 70.2 kB / 0.8951 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.006954, allocations: 0 / 0.8951 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of Templates: time 0.002123/0.009077, allocations: 0.656 MB / 0.8957 GB, free: 3.27 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.111648589838296]