Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001918/0.001918, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002344/0.002344, allocations: 210.7 kB / 22.99 MB, free: 4.984 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [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.002087/0.002087, allocations: 72.2 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3241, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002822/0.3269, allocations: 1.591 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.328, allocations: 0.5533 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.3281, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.3281, allocations: 15.86 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.3284, allocations: 35.77 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.3285, allocations: 51.81 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.3286, allocations: 107.6 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3288, allocations: 23.91 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.3289, allocations: 59.78 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.329, allocations: 51.81 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.329, allocations: 12 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.405e-05/0.3291, allocations: 16 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.3291, allocations: 19.92 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.3292, allocations: 39.83 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.3294, allocations: 103.5 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3294, allocations: 4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3294, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3294, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007437/0.3301, allocations: 333.9 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3302, allocations: 12.03 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.3303, allocations: 12.89 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3305, allocations: 126.4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3305, allocations: 8.375 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.3305, allocations: 4.375 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3307, allocations: 87.78 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3307, allocations: 3.938 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3307, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3307, allocations: 8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3308, allocations: 43.97 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3313, allocations: 272.3 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.3317, allocations: 102.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.3317, allocations: 32.84 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3318, allocations: 4 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.332, allocations: 99.28 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.332, allocations: 0 / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000381/0.3324, allocations: 157.5 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.3324, allocations: 51.41 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3325, allocations: 122.2 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3326, allocations: 33.7 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.3326, allocations: 96.31 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.3327, allocations: 31.88 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.3327, allocations: 29.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3329, allocations: 322.7 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.333, allocations: 27.98 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.333, allocations: 35.92 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.3331, allocations: 56.84 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3331, allocations: 7.938 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001929/0.3333, allocations: 114.9 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3334, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3334, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3334, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3335, allocations: 27.92 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3335, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3336, allocations: 15.88 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3336, allocations: 4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001097/0.3337, allocations: 126.3 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.3337, allocations: 7.953 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.334, allocations: 155.9 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.334, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.334, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.334, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3342, allocations: 145.2 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3342, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.424e-05/0.3343, allocations: 12 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3343, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3343, allocations: 7.984 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3343, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3343, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3346, allocations: 164.9 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.3346, allocations: 15.84 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3346, allocations: 0 / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.3347, allocations: 19.97 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.3348, allocations: 15.97 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3348, allocations: 8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.366e-05/0.3349, allocations: 95.27 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3349, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002115/0.3351, allocations: 24 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001314/0.3352, allocations: 103.2 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3354, allocations: 87.84 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3354, allocations: 3.938 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.3355, allocations: 50.03 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.3357, allocations: 8 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.3361, allocations: 202.7 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.3362, allocations: 95.11 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.221e-05/0.3363, allocations: 4.5 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.3363, allocations: 19.42 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3363, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of Templates: time 0.003956/0.3403, allocations: 1.191 MB / 1.334 GB, free: 9.234 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.663729826002964]