Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001722/0.001722, allocations: 115.1 kB / 17.08 MB, free: 5.789 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.001892/0.001892, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.411/1.411, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.634/2.634, allocations: 437.1 MB / 0.7177 GB, free: 4.445 MB / 0.5606 GB " [Timeout remaining time 177] 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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001949, allocations: 71.89 kB / 1.028 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3089, allocations: 151.6 MB / 1.176 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002851/0.3118, allocations: 1.604 MB / 1.177 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.3129, allocations: 0.5415 MB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.3129, allocations: 0 / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.313, allocations: 7.922 kB / 1.178 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.3133, allocations: 39.72 kB / 1.178 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.3134, allocations: 47.88 kB / 1.178 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3136, allocations: 99.64 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3137, allocations: 27.92 kB / 1.178 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3139, allocations: 47.83 kB / 1.178 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.314, allocations: 55.75 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.314, allocations: 12 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/0.3141, allocations: 8 kB / 1.178 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.3141, allocations: 19.98 kB / 1.178 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.3142, allocations: 39.8 kB / 1.178 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3144, allocations: 95.55 kB / 1.178 GB, free: 3.156 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3144, allocations: 0 / 1.178 GB, free: 3.156 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3144, allocations: 0 / 1.178 GB, free: 3.156 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.3144, allocations: 0 / 1.178 GB, free: 3.156 MB / 0.92 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.0008182/0.3152, allocations: 413.3 kB / 1.179 GB, free: 2.707 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3153, allocations: 8.031 kB / 1.179 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.3153, allocations: 8.891 kB / 1.179 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.3155, allocations: 188.2 kB / 1.179 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3155, allocations: 384 / 1.179 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.3155, allocations: 16.31 kB / 1.179 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3158, allocations: 89.89 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3158, allocations: 0 / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3158, allocations: 4 kB / 1.179 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3158, allocations: 0 / 1.179 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3159, allocations: 51.91 kB / 1.179 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.3165, allocations: 332.7 kB / 1.179 GB, free: 1.93 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.3168, allocations: 110.7 kB / 1.18 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.3169, allocations: 52.83 kB / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.3169, allocations: 0 / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.3172, allocations: 99.22 kB / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.3172, allocations: 0 / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0003487/0.3176, allocations: 141.6 kB / 1.18 GB, free: 1.504 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.3176, allocations: 59.39 kB / 1.18 GB, free: 1.434 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3177, allocations: 121.8 kB / 1.18 GB, free: 1.305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.3178, allocations: 29.7 kB / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.3179, allocations: 100.4 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.3179, allocations: 35.69 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.318, allocations: 33.64 kB / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3181, allocations: 326.8 kB / 1.181 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.3182, allocations: 23.98 kB / 1.181 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.3183, allocations: 39.92 kB / 1.181 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3184, allocations: 64.73 kB / 1.181 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3184, allocations: 4 kB / 1.181 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001861/0.3186, allocations: 113.6 kB / 1.181 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3186, allocations: 8 kB / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3186, allocations: 0 / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3186, allocations: 0 / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3188, allocations: 19.92 kB / 1.181 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3188, allocations: 4 kB / 1.181 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3189, allocations: 7.938 kB / 1.181 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3189, allocations: 7.984 kB / 1.181 GB, free: 480 kB / 0.92 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.0001073/0.319, allocations: 121.8 kB / 1.181 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.319, allocations: 7.953 kB / 1.181 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.3193, allocations: 146 kB / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3193, allocations: 0 / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3194, allocations: 0 / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.3194, allocations: 11.92 kB / 1.181 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.3196, allocations: 217.4 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3196, allocations: 0 / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.3197, allocations: 16 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3197, allocations: 4 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3197, allocations: 7.984 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3197, allocations: 0 / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3197, allocations: 4 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.32, allocations: 164.9 kB / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.3201, allocations: 81.06 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.3201, allocations: 8 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3202, allocations: 11.98 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.3203, allocations: 7.984 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.3203, allocations: 15.88 kB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.034e-05/0.3204, allocations: 96.14 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3204, allocations: 0 / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002084/0.3206, allocations: 24 kB / 1.182 GB, free: 15.44 MB / 0.9356 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.0001367/0.3207, allocations: 107.2 kB / 1.182 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.321, allocations: 83.66 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.321, allocations: 4 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.859e-05/0.3211, allocations: 55.92 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3212, allocations: 8 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.3217, allocations: 238.3 kB / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3221, allocations: 0.6963 MB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.3222, allocations: 23.42 kB / 1.183 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3222, allocations: 0 / 1.183 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of Templates: time 0.003143/0.3253, allocations: 1.278 MB / 1.184 GB, free: 12.89 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.042466062936]