Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001938/0.001938, allocations: 78.25 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001909/0.001909, allocations: 158.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.414/1.414, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.82/2.82, allocations: 359.1 MB / 0.6044 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003397/0.003397, allocations: 67.91 kB / 0.9515 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.8825, allocations: 169.9 MB / 1.117 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002303/0.8848, allocations: 1.5 MB / 1.119 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007485/0.8855, allocations: 471.6 kB / 1.119 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.8856, allocations: 1.312 kB / 1.119 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.8856, allocations: 5.25 kB / 1.119 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.8858, allocations: 20.12 kB / 1.119 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.767e-05/0.8859, allocations: 24.02 kB / 1.119 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.886, allocations: 55.09 kB / 1.119 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.8861, allocations: 7.453 kB / 1.119 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.8863, allocations: 33.09 kB / 1.119 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.8863, allocations: 21 kB / 1.12 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.8864, allocations: 3.969 kB / 1.12 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.8864, allocations: 3.219 kB / 1.12 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.8864, allocations: 12.33 kB / 1.12 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.8864, allocations: 16.53 kB / 1.12 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.819e-05/0.8865, allocations: 40.23 kB / 1.12 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.8865, allocations: 1.094 kB / 1.12 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8865, allocations: 0.6562 kB / 1.12 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8865, allocations: 4 kB / 1.12 GB, free: 1.629 MB / 0.9981 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.0004706/0.887, allocations: 272.5 kB / 1.12 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.887, allocations: 13.81 kB / 1.12 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.8871, allocations: 7.266 kB / 1.12 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.8872, allocations: 130 kB / 1.12 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.8872, allocations: 1.562 kB / 1.12 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.8872, allocations: 3.391 kB / 1.12 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.8873, allocations: 52.73 kB / 1.12 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.8873, allocations: 1.062 kB / 1.12 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8873, allocations: 4.516 kB / 1.12 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8873, allocations: 1.125 kB / 1.12 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.767e-05/0.8874, allocations: 20.38 kB / 1.12 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.8876, allocations: 208.7 kB / 1.12 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.8877, allocations: 44.16 kB / 1.12 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.8878, allocations: 19.22 kB / 1.12 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.8878, allocations: 1.75 kB / 1.12 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.8879, allocations: 68.69 kB / 1.12 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.8879, allocations: 0 / 1.12 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0002175/0.8882, allocations: 85.42 kB / 1.12 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.8882, allocations: 58.27 kB / 1.121 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.8883, allocations: 111.6 kB / 1.121 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.8883, allocations: 26.77 kB / 1.121 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.8883, allocations: 89.17 kB / 1.121 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.8883, allocations: 10.27 kB / 1.121 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.8883, allocations: 19.47 kB / 1.121 GB, free: 484 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.8884, allocations: 314.3 kB / 1.121 GB, free: 164 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/0.8884, allocations: 16.84 kB / 1.121 GB, free: 156 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.8884, allocations: 12.05 kB / 1.121 GB, free: 152 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.018e-05/0.8885, allocations: 39.75 kB / 1.121 GB, free: 124 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.8885, allocations: 4 kB / 1.121 GB, free: 120 kB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.617e-05/0.8886, allocations: 62.78 kB / 1.121 GB, free: 76 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.8886, allocations: 5.469 kB / 1.121 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8886, allocations: 0.7031 kB / 1.121 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.8886, allocations: 1.156 kB / 1.121 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.8887, allocations: 7.688 kB / 1.121 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.8887, allocations: 1.906 kB / 1.121 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.8888, allocations: 10.88 kB / 1.121 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.8888, allocations: 5.938 kB / 1.121 GB, free: 64 kB / 0.9981 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 9.628e-05/0.8889, allocations: 121.2 kB / 1.121 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.8889, allocations: 6.844 kB / 1.121 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.8889, allocations: 9.797 kB / 1.121 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8889, allocations: 1.781 kB / 1.121 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.8889, allocations: 5.078 kB / 1.121 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.8889, allocations: 0.7969 kB / 1.121 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.8891, allocations: 113.3 kB / 1.121 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8891, allocations: 0 / 1.121 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.8891, allocations: 5.188 kB / 1.122 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8891, allocations: 1.125 kB / 1.122 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.8891, allocations: 1.625 kB / 1.122 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8891, allocations: 4 kB / 1.122 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8891, allocations: 1.609 kB / 1.122 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.8893, allocations: 104.6 kB / 1.122 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.8893, allocations: 3.781 kB / 1.122 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.8893, allocations: 5.578 kB / 1.122 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.8894, allocations: 7.422 kB / 1.122 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.8894, allocations: 4.719 kB / 1.122 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.8894, allocations: 1.766 kB / 1.122 GB, free: 15.69 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.8895, allocations: 93.17 kB / 1.122 GB, free: 15.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8895, allocations: 3.938 kB / 1.122 GB, free: 15.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000191/0.8897, allocations: 10.39 kB / 1.122 GB, free: 15.6 MB / 1.014 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.000112/0.8898, allocations: 104.4 kB / 1.122 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.8899, allocations: 31.05 kB / 1.122 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8899, allocations: 1.094 kB / 1.122 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.89, allocations: 19.06 kB / 1.122 GB, free: 15.49 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.8901, allocations: 12.27 kB / 1.122 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.8905, allocations: 136.2 kB / 1.122 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.622e-05/0.8905, allocations: 68.45 kB / 1.122 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.8906, allocations: 8.594 kB / 1.122 GB, free: 15.28 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.8906, allocations: 11.17 kB / 1.122 GB, free: 15.27 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.8906, allocations: 0 / 1.122 GB, free: 15.27 MB / 1.014 GB Notification: Performance of Templates: time 0.0032/0.8938, allocations: 0.5472 MB / 1.123 GB, free: 15.19 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.436596137005836]