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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 443.4 MB / 0.7304 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 68.12 kB / 1.059 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3978, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003189/0.401, allocations: 1.49 MB / 1.218 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.4019, allocations: 487.8 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.402, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.402, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.4023, allocations: 23.78 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.603e-05/0.4024, allocations: 19.92 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.4025, allocations: 51.86 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.4026, allocations: 11.92 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4027, allocations: 23.94 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.4028, allocations: 27.89 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.4029, allocations: 4 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.4029, allocations: 4 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.4029, allocations: 7.938 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.4029, allocations: 19.92 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.4031, allocations: 39.81 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4031, allocations: 4 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4031, allocations: 4 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.4031, allocations: 0 / 1.218 GB, free: 13.15 MB / 0.9669 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.0008185/0.4039, allocations: 359.3 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4039, allocations: 11.97 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.404, allocations: 12.88 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.4042, allocations: 172.3 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.4043, allocations: 4.375 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.4043, allocations: 4.375 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.4044, allocations: 54 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4044, allocations: 0 / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4044, allocations: 4 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4044, allocations: 0 / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.569e-05/0.4045, allocations: 15.98 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.405, allocations: 276.8 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.4051, allocations: 42.56 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.4051, allocations: 20.86 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.4051, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.4053, allocations: 71.38 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4053, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002548/0.4056, allocations: 77.67 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.4056, allocations: 55.41 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.4058, allocations: 109.8 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.4058, allocations: 33.7 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.4058, allocations: 84.14 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.4059, allocations: 19.88 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.4059, allocations: 21.72 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4061, allocations: 322.8 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.4061, allocations: 12 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.4061, allocations: 8 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.8e-05/0.4062, allocations: 40.72 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4062, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001099/0.4063, allocations: 66.03 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4063, allocations: 7.984 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.4063, allocations: 8.062 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4064, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.4064, allocations: 4 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4064, allocations: 4 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.4065, allocations: 0 / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.4065, allocations: 4 kB / 1.22 GB, free: 11.04 MB / 0.9669 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.000111/0.4066, allocations: 129.6 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.4066, allocations: 7.953 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.4067, allocations: 7.969 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4067, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4067, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4067, allocations: 4 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.4068, allocations: 173.6 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4068, allocations: 3.984 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.4069, allocations: 4 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4069, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.4069, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4069, allocations: 4 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4069, allocations: 4 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.407, allocations: 97.05 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.4072, allocations: 88.94 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.4072, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.541e-05/0.4073, allocations: 4 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.4073, allocations: 11.98 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4073, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.393e-05/0.4074, allocations: 95.58 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4074, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001902/0.4076, allocations: 8 kB / 1.221 GB, free: 10.31 MB / 0.9669 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.0001322/0.4077, allocations: 99.25 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.4078, allocations: 39.92 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4078, allocations: 0 / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.928e-05/0.4079, allocations: 16.12 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.408, allocations: 12.69 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.4085, allocations: 150.1 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.4089, allocations: 0.6807 MB / 1.222 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.812e-05/0.4089, allocations: 3.984 kB / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.4089, allocations: 11.44 kB / 1.222 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.4089, allocations: 3.938 kB / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of Templates: time 0.003151/0.4121, allocations: 0.5721 MB / 1.222 GB, free: 8.68 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.739915671758354]