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.001367/0.001367, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001512/0.001512, allocations: 216.1 kB / 23.01 MB, free: 4.609 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.12/3.12, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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.002089/0.002089, allocations: 64.08 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00291/0.3586, allocations: 1.644 MB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3597, allocations: 0.6038 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.3598, allocations: 3.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.3598, allocations: 15.92 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.3601, allocations: 35.72 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.3602, allocations: 47.88 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.3604, allocations: 107.6 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3605, allocations: 15.94 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.3607, allocations: 59.83 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3608, allocations: 51.81 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.3608, allocations: 15.94 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.189e-05/0.3609, allocations: 16 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.3609, allocations: 27.84 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.559e-05/0.361, allocations: 43.78 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3612, allocations: 99.61 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3612, allocations: 3.938 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3612, allocations: 0 / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3612, allocations: 0 / 1.33 GB, free: 14.67 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.0007503/0.3619, allocations: 335 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.362, allocations: 8.031 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3621, allocations: 16.89 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3623, allocations: 130.4 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3623, allocations: 4.375 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.3623, allocations: 4.375 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.3625, allocations: 85.95 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3625, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3625, allocations: 8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3625, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.3626, allocations: 43.97 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.3632, allocations: 319.7 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.3634, allocations: 102.7 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/0.3635, allocations: 40.84 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3635, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.3638, allocations: 95.34 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.3638, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003336/0.3641, allocations: 145.5 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.3642, allocations: 59.39 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3643, allocations: 130.2 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3643, allocations: 25.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.3644, allocations: 96.31 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.3644, allocations: 31.89 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.3645, allocations: 25.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3646, allocations: 326.8 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.3647, allocations: 27.98 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.3648, allocations: 30.73 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.3649, allocations: 68.8 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3649, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001901/0.3651, allocations: 113.6 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.3651, allocations: 11.98 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3651, allocations: 3.938 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3651, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3652, allocations: 19.98 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3652, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.3653, allocations: 15.83 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.3654, allocations: 8 kB / 1.332 GB, free: 12.19 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.0001047/0.3655, allocations: 126.3 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.3655, allocations: 7.953 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.3658, allocations: 149.9 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3658, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3658, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3658, allocations: 7.938 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.366, allocations: 176.7 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.366, allocations: 7.984 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.916e-05/0.366, allocations: 23.98 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.366, allocations: 3.938 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3661, allocations: 0 / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3661, allocations: 4 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3661, allocations: 3.984 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3663, allocations: 157 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.3663, allocations: 15.84 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3664, allocations: 4 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3665, allocations: 11.98 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.3665, allocations: 11.98 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3665, allocations: 11.92 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.27e-05/0.3666, allocations: 99.27 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3666, allocations: 0 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002059/0.3668, allocations: 24 kB / 1.333 GB, free: 11.29 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.0001191/0.3669, allocations: 103.1 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.3671, allocations: 83.97 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3671, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3672, allocations: 47.92 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.3674, allocations: 9.547 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.3678, allocations: 228.4 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.3682, allocations: 0.7039 MB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.3683, allocations: 23.42 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3683, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of Templates: time 0.003121/0.3714, allocations: 1.275 MB / 1.335 GB, free: 8.758 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 -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: 11.072234449995449]