Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001821, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 196.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.825/2.825, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.89 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8617, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003177/0.8649, allocations: 1.542 MB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008231/0.8657, allocations: 470.8 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.8658, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.8658, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.8661, allocations: 19.84 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.762e-05/0.8662, allocations: 23.92 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.712e-05/0.8663, allocations: 43.86 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.8664, allocations: 7.984 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.8665, allocations: 27.86 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.8666, allocations: 19.92 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.8666, allocations: 4 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.8666, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.8667, allocations: 3.984 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.8667, allocations: 31.84 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.8668, allocations: 33.86 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8668, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8669, allocations: 3.938 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.8669, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006372/0.8675, allocations: 355.4 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.8676, allocations: 12.03 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.8676, allocations: 0.9375 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.8678, allocations: 172.2 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.8678, allocations: 8.312 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.8678, allocations: 4.375 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.868, allocations: 57.98 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.868, allocations: 4 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.868, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.868, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.8681, allocations: 19.98 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.8685, allocations: 272.9 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.8686, allocations: 42.52 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.8687, allocations: 28.94 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.8687, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.8689, allocations: 67.3 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 3.396e-06/0.8689, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002387/0.8692, allocations: 85.55 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.8692, allocations: 55.41 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.8693, allocations: 109.8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.8694, allocations: 29.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.8694, allocations: 84.14 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.8695, allocations: 11.75 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.8695, allocations: 29.7 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8696, allocations: 318.8 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.8697, allocations: 11.98 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.8697, allocations: 12 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.8698, allocations: 32.86 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.8698, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001108/0.8699, allocations: 65.53 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8699, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.8699, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.87, allocations: 8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.87, allocations: 8.422 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.8701, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.8701, allocations: 8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.8701, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (6): * Single equations (assignments): 6 * 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.0001014/0.8702, allocations: 117.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.8703, allocations: 8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.8703, allocations: 11.89 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.8703, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8703, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8703, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.8705, allocations: 177.6 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.8705, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.8705, allocations: 11.92 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8705, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.8706, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8706, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8706, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.8707, allocations: 105 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.8708, allocations: 81.09 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.8708, allocations: 3.938 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.8709, allocations: 8 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.8709, allocations: 3.984 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.8709, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.63e-05/0.871, allocations: 87.28 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.871, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001836/0.8712, allocations: 8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001304/0.8713, allocations: 115.7 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.8715, allocations: 35.92 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.8715, allocations: 0 / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.8715, allocations: 16 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.8717, allocations: 4 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.872, allocations: 155.7 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.8723, allocations: 0.6809 MB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.8724, allocations: 0 / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.8724, allocations: 11.44 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8724, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.003003/0.8754, allocations: 0.518 MB / 1.023 GB, free: 12.13 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches