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.001111/0.001111, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001245/0.001245, allocations: 162.7 kB / 24.87 MB, free: 8.84 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.005/1.005, allocations: 177.2 MB / 205.3 MB, free: 5.508 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.894/1.894, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.743e-06/1.743e-06, allocations: 0 / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.935e-05, allocations: 7.25 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002007/0.002037, allocations: 1.534 MB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0006563/0.002693, allocations: 493 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.002732, allocations: 0 / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.002757, allocations: 1.812 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.002963, allocations: 31.72 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 6.18e-05/0.003025, allocations: 15.98 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.673e-05/0.003102, allocations: 59.77 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.993e-05/0.003182, allocations: 5.344 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.003343, allocations: 51.77 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.003409, allocations: 19.91 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.003424, allocations: 5.594 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.003433, allocations: 4 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.003454, allocations: 12 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.003483, allocations: 19.91 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.353e-05/0.003557, allocations: 28.69 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003559, allocations: 0 / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00356, allocations: 0.5312 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003564, allocations: 1.656 kB / 0.815 GB, free: 15.16 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.0003916/0.003956, allocations: 384.5 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.003989, allocations: 8.031 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.004025, allocations: 16.89 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.253e-05/0.004107, allocations: 117.1 kB / 0.8155 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.004119, allocations: 1.688 kB / 0.8155 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.004128, allocations: 4.375 kB / 0.8155 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.223e-05/0.00421, allocations: 66.86 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.004217, allocations: 192 / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.004224, allocations: 1.531 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.00423, allocations: 7.938 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.004255, allocations: 11.92 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.004538, allocations: 257.8 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.988e-05/0.004618, allocations: 46.98 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.004639, allocations: 15.67 kB / 0.8159 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.004645, allocations: 5.656 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.535e-05/0.004731, allocations: 73.09 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.004732, allocations: 0 / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001337/0.004865, allocations: 77.56 kB / 0.8161 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.004902, allocations: 57.06 kB / 0.8161 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.004978, allocations: 169.9 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.004988, allocations: 25.7 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.005029, allocations: 134.9 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.005049, allocations: 12.77 kB / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.005083, allocations: 31.36 kB / 0.8165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.005192, allocations: 0.4905 MB / 0.8169 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.005207, allocations: 4 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.00522, allocations: 11.98 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.005258, allocations: 23.69 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00526, allocations: 0 / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.705e-05/0.005337, allocations: 73.56 kB / 0.8171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.005349, allocations: 10.09 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.005354, allocations: 4 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.005361, allocations: 0 / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.005423, allocations: 12.23 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.005425, allocations: 0 / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.005459, allocations: 11.94 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.005465, allocations: 0.5 kB / 0.8171 GB, free: 12.83 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 6.701e-05/0.005532, allocations: 161.1 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.005542, allocations: 13.8 kB / 0.8173 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.005563, allocations: 12.42 kB / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.005564, allocations: 0 / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.005566, allocations: 0 / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005569, allocations: 0 / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.174e-05/0.005641, allocations: 107.5 kB / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005641, allocations: 0 / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.005656, allocations: 4 kB / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005657, allocations: 7.938 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.005662, allocations: 0 / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.005663, allocations: 3.938 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005664, allocations: 1.125 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.422e-05/0.005759, allocations: 108.4 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.005767, allocations: 0 / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.005782, allocations: 8.562 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.005804, allocations: 3.938 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.005828, allocations: 8.891 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.005833, allocations: 0 / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.005882, allocations: 132 kB / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005882, allocations: 3.938 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001221/0.006004, allocations: 12 kB / 0.8177 GB, free: 12.2 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 8.074e-05/0.006085, allocations: 98.72 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.006157, allocations: 35.66 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006159, allocations: 0 / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.006188, allocations: 31.61 kB / 0.8178 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.006295, allocations: 0 / 0.8178 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.006754, allocations: 164.4 kB / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.459e-05/0.006788, allocations: 59.34 kB / 0.818 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.006815, allocations: 4 kB / 0.818 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.006865, allocations: 70.2 kB / 0.8181 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of SimCode: time 6.42e-07/0.006866, allocations: 0 / 0.8181 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of Templates: time 0.002211/0.009076, allocations: 0.685 MB / 0.8188 GB, free: 11.04 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.250846993178129]