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.0009969/0.0009969, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001024/0.001024, allocations: 165 kB / 23.82 MB, free: 0.75 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.9506/0.9506, allocations: 177.1 MB / 204.2 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.94/1.94, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.773e-06/1.773e-06, allocations: 0 / 0.8115 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.237e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003264/0.003296, allocations: 1.541 MB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.004376, allocations: 497.3 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.004446, allocations: 0 / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.666e-05/0.004493, allocations: 3.938 kB / 0.8135 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.004831, allocations: 24.47 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 9.756e-05/0.004928, allocations: 20.88 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.005037, allocations: 59.78 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.005141, allocations: 4.656 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.005376, allocations: 51.77 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.315e-05/0.005469, allocations: 25.16 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.00549, allocations: 4 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.005504, allocations: 4 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.005524, allocations: 4.969 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.005574, allocations: 23.91 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.946e-05/0.005673, allocations: 23.97 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005676, allocations: 4.75 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.005677, allocations: 0 / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.005682, allocations: 0.7188 kB / 0.8138 GB, free: 15.42 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.0006167/0.006299, allocations: 385.8 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.006348, allocations: 8.031 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.006411, allocations: 8.891 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.006553, allocations: 130.5 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.006575, allocations: 4.375 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.006592, allocations: 384 / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.006724, allocations: 66.88 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.006737, allocations: 192 / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.006749, allocations: 384 / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.006759, allocations: 4.812 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.104e-05/0.00681, allocations: 19.98 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.007283, allocations: 265.1 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.007416, allocations: 54.98 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.007464, allocations: 24.42 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.007472, allocations: 0 / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.00761, allocations: 69.73 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.007611, allocations: 0 / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002212/0.007832, allocations: 79.14 kB / 0.8148 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.00788, allocations: 59.41 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.007991, allocations: 173.9 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.00801, allocations: 25.7 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.008067, allocations: 136.4 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.0081, allocations: 15.97 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.008152, allocations: 31.36 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.008295, allocations: 492.1 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.008332, allocations: 12.48 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.008359, allocations: 13.72 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.923e-05/0.008428, allocations: 31.67 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.008431, allocations: 0 / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001262/0.008557, allocations: 73.52 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.008573, allocations: 4 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.008579, allocations: 1.281 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.008598, allocations: 4 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.008705, allocations: 16 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.008711, allocations: 1.562 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.136e-05/0.008763, allocations: 7.938 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.008775, allocations: 3.984 kB / 0.8159 GB, free: 13.05 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 0.0001077/0.008883, allocations: 165 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.008905, allocations: 12.55 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.008938, allocations: 4.438 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.008941, allocations: 0.5312 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.008946, allocations: 0.75 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.008952, allocations: 7.922 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.009087, allocations: 129.5 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.009092, allocations: 7.984 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.009125, allocations: 4 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.00913, allocations: 4.469 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.00914, allocations: 1.375 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.009143, allocations: 0 / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.009144, allocations: 0 / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.009312, allocations: 108.4 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.009331, allocations: 4.875 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.009356, allocations: 3.938 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.551e-05/0.009402, allocations: 8.812 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.009447, allocations: 3.984 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.009456, allocations: 4 kB / 0.8163 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.771e-05/0.009523, allocations: 132.5 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.009524, allocations: 0 / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002385/0.009762, allocations: 12 kB / 0.8165 GB, free: 12.38 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.0001192/0.009881, allocations: 99.88 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.01002, allocations: 40.23 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01003, allocations: 1.875 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/0.01007, allocations: 23.67 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.01025, allocations: 8 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007907/0.01104, allocations: 167.1 kB / 0.8168 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.998e-05/0.01108, allocations: 58.83 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.01111, allocations: 7.984 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.01115, allocations: 12.5 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.01115, allocations: 0 / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.002968/0.01412, allocations: 0.6125 MB / 0.8175 GB, free: 11.33 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.25256389984861]