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.001444/0.001444, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001742/0.001742, allocations: 212.3 kB / 22.24 MB, free: 5.262 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.607/1.607, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.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.902/2.902, allocations: 475.9 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] 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.002222/0.002222, allocations: 72.47 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4332, allocations: 169.9 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003026/0.4363, allocations: 1.507 MB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.4373, allocations: 468.7 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.005e-05/0.4374, allocations: 4 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.03e-05/0.4374, allocations: 3.938 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.4377, allocations: 35.45 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.4378, allocations: 19.92 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.4379, allocations: 51.8 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.4381, allocations: 11.92 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.4382, allocations: 27.91 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.4383, allocations: 19.92 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.4383, allocations: 7.938 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.495e-05/0.4384, allocations: 4 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.4384, allocations: 8 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.4384, allocations: 23.91 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.4385, allocations: 35.89 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.4385, allocations: 0 / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4385, allocations: 3.938 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.4386, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 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.0006143/0.4392, allocations: 282.2 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.4392, allocations: 8.031 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.4392, allocations: 8.891 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.4394, allocations: 118.4 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4394, allocations: 4.375 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.4394, allocations: 8.359 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.4396, allocations: 53.94 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4396, allocations: 0 / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.4396, allocations: 4 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4396, allocations: 0 / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/0.4397, allocations: 15.98 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.4401, allocations: 216.5 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4402, allocations: 46.5 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.4402, allocations: 24.94 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.4402, allocations: 4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.4405, allocations: 63.39 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.4405, allocations: 0 / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002571/0.4407, allocations: 85.58 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.4408, allocations: 51.41 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4409, allocations: 109.8 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4409, allocations: 29.7 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.441, allocations: 84.12 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.441, allocations: 15.91 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.441, allocations: 17.72 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4412, allocations: 318.8 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.379e-05/0.4412, allocations: 12 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.4412, allocations: 12.38 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.345e-05/0.4413, allocations: 44.72 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4413, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001216/0.4414, allocations: 65.69 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4414, allocations: 4 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4415, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4415, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.4416, allocations: 8 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4416, allocations: 0 / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.4416, allocations: 15.94 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4416, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 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.0001082/0.4417, allocations: 121.7 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.4418, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.4418, allocations: 12 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4418, allocations: 0 / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4418, allocations: 3.938 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4418, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.4419, allocations: 121.2 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4419, allocations: 0 / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.442, allocations: 11.98 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.442, allocations: 4 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.442, allocations: 0 / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.442, allocations: 0 / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.442, allocations: 0 / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.4421, allocations: 105.1 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.4422, allocations: 7.969 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.4422, allocations: 0 / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.4422, allocations: 4 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.4423, allocations: 15.92 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4423, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.652e-05/0.4424, allocations: 95.27 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4424, allocations: 0 / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001983/0.4426, allocations: 8 kB / 1.287 GB, free: 7.289 MB / 0.9825 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.0001277/0.4427, allocations: 95.25 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.4429, allocations: 35.98 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4429, allocations: 0 / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.642e-05/0.4429, allocations: 19.94 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.4431, allocations: 3.938 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.4435, allocations: 142.3 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.4436, allocations: 71.28 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.636e-05/0.4437, allocations: 4 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.4437, allocations: 11.42 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/0.4437, allocations: 0 / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of Templates: time 0.003492/0.4472, allocations: 0.5826 MB / 1.288 GB, free: 6.289 MB / 0.9825 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 -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/jenkins/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: 9.479157419875264]