Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001693/0.001693, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001794/0.001794, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.812 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.99/2.99, allocations: 475.9 MB / 0.7699 GB, free: 4.793 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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_11_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_11_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.001973/0.001973, allocations: 66.36 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4372, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003454/0.4407, allocations: 1.601 MB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.442, allocations: 0.5627 MB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.4421, allocations: 0 / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.487e-05/0.4422, allocations: 7.922 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.4425, allocations: 39.72 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.4427, allocations: 51.88 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.4428, allocations: 99.7 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.443, allocations: 27.78 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.4432, allocations: 51.84 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.4433, allocations: 47.81 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.4433, allocations: 8 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.96e-05/0.4434, allocations: 20 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.4434, allocations: 23.86 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.4435, allocations: 43.78 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.4437, allocations: 103.6 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4437, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.414e-06/0.4437, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4437, allocations: 0 / 1.286 GB, free: 9.242 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008042/0.4445, allocations: 337.9 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4445, allocations: 8.031 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.4447, allocations: 20.88 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.4449, allocations: 126.4 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4449, allocations: 384 / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.4449, allocations: 8.375 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.4451, allocations: 89.89 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4451, allocations: 4 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4452, allocations: 0 / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4452, allocations: 0 / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.4453, allocations: 54.64 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.4458, allocations: 276.3 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.4461, allocations: 98.72 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/0.4462, allocations: 36.84 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.4462, allocations: 0 / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.4465, allocations: 107.2 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.4465, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003688/0.4469, allocations: 141.6 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4469, allocations: 63.41 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.447, allocations: 121.8 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.447, allocations: 29.64 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.4471, allocations: 100.3 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.4472, allocations: 27.89 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.4472, allocations: 29.7 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4474, allocations: 326.8 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.4474, allocations: 23.98 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.4475, allocations: 30.36 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.4476, allocations: 64.84 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4476, allocations: 0 / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001854/0.4478, allocations: 114.5 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4478, allocations: 8 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.4478, allocations: 3.938 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4478, allocations: 0 / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4479, allocations: 23.92 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.448, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.4481, allocations: 15.89 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.4481, allocations: 7.984 kB / 1.288 GB, free: 6.816 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: 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.0001039/0.4482, allocations: 118.7 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.4482, allocations: 11.95 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.4485, allocations: 147.2 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.4485, allocations: 4 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4485, allocations: 4 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4485, allocations: 3.984 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.4487, allocations: 141.2 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4487, allocations: 3.984 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.4488, allocations: 16 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4488, allocations: 4 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4488, allocations: 0 / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4488, allocations: 4 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4488, allocations: 3.938 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.449, allocations: 176.3 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.4491, allocations: 15.89 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.4491, allocations: 0 / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.4492, allocations: 11.98 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.4492, allocations: 7.984 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.4493, allocations: 7.984 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.576e-05/0.4493, allocations: 103.2 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4493, allocations: 0 / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002184/0.4496, allocations: 27.95 kB / 1.289 GB, free: 5.957 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: 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.0001388/0.4497, allocations: 99.25 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.4499, allocations: 87.84 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4499, allocations: 0 / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.45, allocations: 43.92 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.4502, allocations: 11.98 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.4507, allocations: 202.7 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.696e-05/0.4508, allocations: 87.19 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.113e-05/0.4508, allocations: 12.48 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.4509, allocations: 11.44 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.4509, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of Templates: time 0.004273/0.4551, allocations: 1.157 MB / 1.29 GB, free: 4.215 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.694342065602541]