Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 177.8 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008751/0.0008751, allocations: 102 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 16.88 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2644, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.4552, allocations: 132 MB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.4555, allocations: 83.94 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001993/0.4576, allocations: 0.7233 MB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.534e-06/0.4576, allocations: 4 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.4576, allocations: 0 / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003095/0.4579, allocations: 331.3 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.458, allocations: 8.031 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.458, allocations: 4 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.4581, allocations: 171 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4582, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.4582, allocations: 4 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.976e-05/0.4583, allocations: 33.7 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4583, allocations: 4 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4583, allocations: 3.938 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4583, allocations: 0 / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.4584, allocations: 4 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.4587, allocations: 244.9 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.037e-05/0.4588, allocations: 22.58 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.4588, allocations: 4 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.4588, allocations: 38.53 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4588, allocations: 4.062 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001597/0.459, allocations: 41.61 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.4591, allocations: 51.41 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.4592, allocations: 89 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.4592, allocations: 29.7 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.4593, allocations: 88.25 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.4593, allocations: 7.906 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-06/0.4593, allocations: 0 / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4595, allocations: 314.8 kB / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.4595, allocations: 4 kB / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.4595, allocations: 4 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.4595, allocations: 4 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4595, allocations: 3.938 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.707e-05/0.4596, allocations: 41.78 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4596, allocations: 8 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4596, allocations: 0 / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4596, allocations: 0 / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.4597, allocations: 4 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.4597, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.4598, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4598, allocations: 3.938 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/0.4599, allocations: 118.2 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.4599, allocations: 0 / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.4599, allocations: 11.12 kB / 1.031 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4599, allocations: 3.984 kB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.46, allocations: 0 / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.46, allocations: 4 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4601, allocations: 153.6 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4602, allocations: 4 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.4602, allocations: 4 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4602, allocations: 3.938 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4602, allocations: 4.188 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4602, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4602, allocations: 7.984 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.4603, allocations: 139.5 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.4604, allocations: 81.02 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.4604, allocations: 0 / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.4605, allocations: 4 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.4605, allocations: 0 / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.4605, allocations: 0 / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.4605, allocations: 87.31 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4605, allocations: 0 / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002053/0.4608, allocations: 4 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001391/0.4609, allocations: 102 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.244e-05/0.461, allocations: 11.94 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.461, allocations: 0 / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.461, allocations: 8 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.4611, allocations: 9.922 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.4614, allocations: 118.9 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.4617, allocations: 0.677 MB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.4617, allocations: 7.984 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.4618, allocations: 7.438 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/0.4618, allocations: 0 / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of Templates: time 0.001886/0.4637, allocations: 214.9 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches