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.001894/0.001894, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.002373/0.002373, allocations: 214.6 kB / 23.01 MB, free: 5.109 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8 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.762/2.762, allocations: 476.7 MB / 0.7714 GB, free: 4.234 MB / 0.6231 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.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.002032/0.002032, allocations: 74.05 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3772, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003038/0.3802, allocations: 1.643 MB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3813, allocations: 0.625 MB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.3814, allocations: 0 / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.3814, allocations: 7.922 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.3817, allocations: 39.7 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.3818, allocations: 43.88 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.382, allocations: 107.7 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3821, allocations: 31.78 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.3823, allocations: 51.84 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.3824, allocations: 51.81 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.3824, allocations: 8 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.885e-05/0.3825, allocations: 12 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.3825, allocations: 19.92 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.365e-05/0.3826, allocations: 59.7 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.3828, allocations: 99.62 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3828, allocations: 0 / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3828, allocations: 4 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.3828, allocations: 3.984 kB / 1.287 GB, free: 8.406 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.000756/0.3836, allocations: 325.9 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3836, allocations: 12.03 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3838, allocations: 16.88 kB / 1.288 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3839, allocations: 130.4 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3839, allocations: 4.375 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.384, allocations: 4.375 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3841, allocations: 93.89 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.3842, allocations: 0 / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3842, allocations: 0 / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3842, allocations: 4 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3843, allocations: 47.97 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.3849, allocations: 323.7 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.3852, allocations: 94.72 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.3852, allocations: 36.84 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3853, allocations: 0 / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.3855, allocations: 103.3 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.3855, allocations: 0 / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.000357/0.3859, allocations: 145.5 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.3859, allocations: 59.34 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.386, allocations: 125.8 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.3861, allocations: 29.64 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.3861, allocations: 96.33 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.3862, allocations: 31.88 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.3862, allocations: 29.7 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3864, allocations: 326.8 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.3864, allocations: 24 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.3865, allocations: 35.86 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3866, allocations: 64.78 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3866, allocations: 0 / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001904/0.3868, allocations: 113.6 kB / 1.29 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3868, allocations: 4 kB / 1.29 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3868, allocations: 0 / 1.29 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3869, allocations: 0 / 1.29 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.387, allocations: 27.92 kB / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.387, allocations: 0 / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3871, allocations: 23.81 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3871, allocations: 4 kB / 1.29 GB, free: 5.93 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.0001165/0.3872, allocations: 114.7 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.3872, allocations: 11.94 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.3875, allocations: 146 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3875, allocations: 8 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3876, allocations: 0 / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3876, allocations: 3.938 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.3878, allocations: 180.7 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3878, allocations: 0 / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.858e-05/0.3878, allocations: 15.98 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3878, allocations: 4 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3879, allocations: 0 / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3879, allocations: 0 / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3879, allocations: 0 / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.3881, allocations: 174 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.3881, allocations: 19.83 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3882, allocations: 4 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.3883, allocations: 8 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.3883, allocations: 15.95 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.3883, allocations: 7.938 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.275e-05/0.3884, allocations: 103.2 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3884, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002059/0.3886, allocations: 27.94 kB / 1.29 GB, free: 5.023 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.0001462/0.3888, allocations: 103.2 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.389, allocations: 88.59 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.389, allocations: 0 / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-05/0.3891, allocations: 43.92 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.3892, allocations: 10.34 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.3898, allocations: 240.3 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3901, allocations: 0.6963 MB / 1.292 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.3902, allocations: 15.42 kB / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3902, allocations: 0 / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of Templates: time 0.003145/0.3933, allocations: 1.279 MB / 1.293 GB, free: 2.504 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/jenkins1/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: 11.197715460992185]